Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complex tidb binlog.yaml: add checkpoint info (#6216) #6284

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
This is an automated cherry-pick of #6216
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
en-jin19 authored and ti-chi-bot committed Aug 26, 2021
commit c98521530504033d3cdc354e5b4d0ba31fbe2b89
27 changes: 27 additions & 0 deletions config-templates/complex-tidb-binlog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

>>>>>>> 389c31777 (complex tidb binlog.yaml: add checkpoint info (#6216))
monitoring_servers:
- host: 10.0.1.10
# ssh_port: 22
Expand Down