github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/pkg/cmd/util/ticdc.toml (about) 1 2 # TiCDC Server 监听的地址,默认:127.0.0.1:8300 3 # the listening address of TiCDC server, default: 127.0.0.1:8300 4 addr = "127.0.0.1:8300" 5 6 # 用于客户端建立连接的对外公开的地址,这个地址会被注册到 PD, 默认:和 addr 相同 7 # the advertised listening address for client communication, this address will be registered with the PD, default: same with the addr item 8 advertise-addr = "127.0.0.1:8300" 9 10 # 日志文件路径 11 # log file path 12 log-file = "/tmp/ticdc/ticdc.log" 13 14 # 日志级别 (debug|info|warn|error) 默认:"info" 15 # log level (debug|info|warn|error) default: "info" 16 log-level = "info" 17 18 # CDC GC safepoint TTL,以秒为单位,默认:86400(24H) 19 # CDC GC safepoint TTL duration, specified in seconds, default: 86400(24H) 20 # gc-ttl = 86400 21 22 # TiCDC 集群的时区,默认: "System" 23 # the time zone of TiCDC cluster, default: "System" 24 # tz = "System" 25 26 [log.file] 27 # Max log file size in MB (upper limit to 4096MB). 28 max-size = 300 29 30 # Max log file keep days. No clean up by default. 31 max-days = 0 32 33 # Maximum number of old log files to retain. No clean up by default. 34 max-backups = 0 35 36 [security] 37 # ca-path = "" 38 # cert-path = "" 39 # key-path = "" 40 # cert-allowed-cn = ["cn1","cn2"] 41 ## Use mtls or just tls when proper cert/ca/key are provided. 42 # mtls = false