【 TiDB 使用环境】生产环境 /测试/ Poc
【 TiDB 版本】4.0
【复现路径】
tiup cluster scale-out tidb-test --user root -p scale_out_drainer.yaml
Error: Failed to parse topology file scale_out_drainer.yaml (topology.parse_failed)
caused by: yaml: unmarshal errors:
line 2: cannot unmarshal !!str syncer....
into map[string]interface {}
【遇到的问题:问题现象及影响】
【资源配置】
drainer_servers:
- host: 10.1.10.60
ssh_port: 22
port: 8249
data_dir: "/data/drainer-8249"
deploy_dir: "/data/drainer-8249"
log_dir: "/data/drainer-8249/log"
config:
syncer.db-type = "kafka"
syncer.to.kafka-addrs = "10.1.10.119:9092"
syncer.to.kafka-version = "3.0"
syncer.to.kafka-max-messages = 1024
syncer.to.kafka-max-message-size = 1073741824
syncer.to.topic-name = "testtidbbinlog"