# pump Configuration. # addr(i.e. 'host:port') to listen on for client traffic addr = "127.0.0.1:8250" # addr(i.e. 'host:port') to advertise to the public advertise-addr = "" # a integer value to control expiry date of the binlog data, indicates for how long (in days) the binlog data would be stored. # must bigger than 0 gc = 7 # path to the data directory of pump's data data-dir = "data.pump" # number of seconds between heartbeat ticks (in 2 seconds) heartbeat-interval = 2 # a comma separated list of PD endpoints pd-urls = "http://127.0.0.1:2379" #[security] # Path of file that contains list of trusted SSL CAs for connection with cluster components. # ssl-ca = "/path/to/ca.pem" # Path of file that contains X509 certificate in PEM format for connection with cluster components. # ssl-cert = "/path/to/drainer.pem" # Path of file that contains X509 key in PEM format for connection with cluster components. # ssl-key = "/path/to/drainer-key.pem" # # [storage] # Set to `true` (default) for best reliability, which prevents data loss when there is a power failure. # sync-log = true # # we suggest using the default config of the embedded LSM DB now, do not change it useless you know what you are doing # [storage.kv] # block-cache-capacity = 8388608 # block-restart-interval = 16 # block-size = 4096 # compaction-L0-trigger = 8 # compaction-table-size = 67108864 # compaction-total-size = 536870912 # compaction-total-size-multiplier = 8.0 # write-buffer = 67108864 # write-L0-pause-trigger = 24 # write-L0-slowdown-trigger = 17