Reference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlSourceConfig.
MySQL source configuration
Generated from protobuf message google.cloud.datastream.v1.MysqlSourceConfig
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ include_objects
↳ exclude_objects
↳ max_concurrent_cdc_tasks
int
Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.
↳ max_concurrent_backfill_tasks
int
Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.
↳ binary_log_position
↳ gtid
getIncludeObjects
MySQL objects to retrieve from the source.
hasIncludeObjects
clearIncludeObjects
setIncludeObjects
MySQL objects to retrieve from the source.
$this
getExcludeObjects
MySQL objects to exclude from the stream.
hasExcludeObjects
clearExcludeObjects
setExcludeObjects
MySQL objects to exclude from the stream.
$this
getMaxConcurrentCdcTasks
Maximum number of concurrent CDC tasks. The number should be non negative.
If not set (or set to 0), the system's default value will be used.
int
setMaxConcurrentCdcTasks
Maximum number of concurrent CDC tasks. The number should be non negative.
If not set (or set to 0), the system's default value will be used.
var
int
$this
getMaxConcurrentBackfillTasks
Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.
int
setMaxConcurrentBackfillTasks
Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.
var
int
$this
getBinaryLogPosition
Use Binary log position based replication.
hasBinaryLogPosition
setBinaryLogPosition
Use Binary log position based replication.
$this
getGtid
Use GTID based replication.
hasGtid
setGtid
Use GTID based replication.
$this
getCdcMethod
string