public sealed class MysqlSourceConfig : IMessage<MysqlSourceConfig>, IEquatable<MysqlSourceConfig>, IDeepCloneable<MysqlSourceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the DataStream v1 API class MysqlSourceConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eMysqlSourceConfig\u003c/code\u003e class is 2.9.0, part of the Google.Cloud.Datastream.V1 API for .NET, with previous versions available ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMysqlSourceConfig\u003c/code\u003e is a class for configuring a MySQL data source, which implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for detailed configurations of the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows users to define either GTID or BinaryLogPosition based replication, providing two methods for capturing data changes, and they can also specify MySQL objects to either include or exclude from the stream with the properties \u003ccode\u003eIncludeObjects\u003c/code\u003e and \u003ccode\u003eExcludeObjects\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can set the maximum number of concurrent backfill tasks and CDC tasks using the \u003ccode\u003eMaxConcurrentBackfillTasks\u003c/code\u003e and \u003ccode\u003eMaxConcurrentCdcTasks\u003c/code\u003e properties, which default to a system-defined value if not explicitly set.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains two Constructors; one default constructor and one that can use another MysqlSourceConfig object as its parameter, copying the values from the other object.\u003c/p\u003e\n"]]],[],null,["# DataStream v1 API - Class MysqlSourceConfig (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.10.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.9.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.8.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.7.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.6.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.5.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.4.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.3.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.2.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.1.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.0.0/Google.Cloud.Datastream.V1.MysqlSourceConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Datastream.V1/1.0.0/Google.Cloud.Datastream.V1.MysqlSourceConfig) \n\n public sealed class MysqlSourceConfig : IMessage\u003cMysqlSourceConfig\u003e, IEquatable\u003cMysqlSourceConfig\u003e, IDeepCloneable\u003cMysqlSourceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the DataStream v1 API class MysqlSourceConfig.\n\nMySQL source configuration \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MysqlSourceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSourceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSourceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MysqlSourceConfig](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.MysqlSourceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Datastream.V1](/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastream.V1.dll\n\nConstructors\n------------\n\n### MysqlSourceConfig()\n\n public MysqlSourceConfig()\n\n### MysqlSourceConfig(MysqlSourceConfig)\n\n public MysqlSourceConfig(MysqlSourceConfig other)\n\nProperties\n----------\n\n### BinaryLogPosition\n\n public MysqlSourceConfig.Types.BinaryLogPosition BinaryLogPosition { get; set; }\n\nUse Binary log position based replication.\n\n### CdcMethodCase\n\n public MysqlSourceConfig.CdcMethodOneofCase CdcMethodCase { get; }\n\n### ExcludeObjects\n\n public MysqlRdbms ExcludeObjects { get; set; }\n\nMySQL objects to exclude from the stream.\n\n### Gtid\n\n public MysqlSourceConfig.Types.Gtid Gtid { get; set; }\n\nUse GTID based replication.\n\n### IncludeObjects\n\n public MysqlRdbms IncludeObjects { get; set; }\n\nMySQL objects to retrieve from the source.\n\n### MaxConcurrentBackfillTasks\n\n public int MaxConcurrentBackfillTasks { get; set; }\n\nMaximum number of concurrent backfill tasks. The number should be non\nnegative. If not set (or set to 0), the system's default value will be\nused.\n\n### MaxConcurrentCdcTasks\n\n public int MaxConcurrentCdcTasks { get; set; }\n\nMaximum number of concurrent CDC tasks. The number should be non negative.\nIf not set (or set to 0), the system's default value will be used."]]