From ece3e06edd3c8f41b2a03c6a5c0aa3febf34957c Mon Sep 17 00:00:00 2001 From: Chunzhu Li Date: Fri, 11 Mar 2022 05:45:50 -0600 Subject: [PATCH] This is an automated cherry-pick of #7827 Signed-off-by: ti-chi-bot --- config-templates/complex-tidb-binlog.yaml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/config-templates/complex-tidb-binlog.yaml b/config-templates/complex-tidb-binlog.yaml index d186ece3a3eab..9bca83379846c 100644 --- a/config-templates/complex-tidb-binlog.yaml +++ b/config-templates/complex-tidb-binlog.yaml @@ -128,7 +128,34 @@ drainer_servers: syncer.to.user: "root" syncer.to.password: "" syncer.to.port: 4000 +<<<<<<< HEAD +======= + syncer.to.checkpoint: + schema: "tidb_binlog" + type: "tidb" + host: "10.0.1.14" + user: "root" + password: "123" + port: 4000 + - host: 10.0.1.13 + port: 8249 + deploy_dir: "/tidb-deploy/drainer-8249" + data_dir: "/tidb-data/drainer-8249" + # If Drainer does not have a checkpoint, use the initial commitTS as the initial checkpoint. + # If commit_ts is set to -1 (the default value), you will get a latest timestamp from PD. + commit_ts: -1 + # The following configurations are used to overwrite the `server_configs.drainer` values. + config: + syncer.db-type: "kafka" + syncer.replicate-do-db: + - db1 + - db2 + syncer.to.kafka-addrs: "10.0.1.20:9092,10.0.1.21:9092,10.0.1.22:9092" + syncer.to.kafka-version: "0.10.0.0" + syncer.to.topic-name: "asyouwish" + +>>>>>>> 5e3e7c6e7 (update config template (#7827)) monitoring_servers: - host: 10.0.1.10 # ssh_port: 22