Binlog

(Appears on: TiDBConfig)

Binlog is the config for binlog.

FieldDescription
enable
bool

optional

write-timeout
string
(Optional)

Optional: Defaults to 15s

ignore-error
bool
(Optional)

If IgnoreError is true, when writing binlog meets error, TiDB would ignore the error.

binlog-socket
string
(Optional)

Use socket file to write binlog, for compatible with kafka version tidb-binlog.

strategy
string
(Optional)

The strategy for sending binlog to pump, value can be “range,omitempty” or “hash,omitempty” now. Optional: Defaults to range