package
2.0.7+incompatible
Repository: https://github.com/pingcap/dm.git
Documentation: pkg.go.dev

# Functions

SetDefaultReplicationCfg sets some default value for BinlogSyncerConfig Note: retryCount should be greater than 0, set retryCount = 1 if you want to disable retry sync.

# Constants

valid stages for binlog related objects.
valid stages for binlog related objects.
valid stages for binlog related objects.

# Variables

MasterHeartbeatPeriod is the master server send heartbeat period, ref: `MASTER_HEARTBEAT_PERIOD` in https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html.
MaxBinlogSyncerReconnect is the max reconnection times for binlog syncer in go-mysql.
SlaveReadTimeout is slave read binlog data timeout, ref: https://dev.mysql.com/doc/refman/8.0/en/replication-options-slave.html#sysvar_slave_net_timeout.

# Type aliases

Stage represents a stage for some binlog related objects, like Writer.Reader.