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

add cdc server topylogy example #2466

Merged
merged 2 commits into from
Nov 5, 2024
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
31 changes: 28 additions & 3 deletions embed/examples/cluster/topology.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,32 @@ kvcdc_servers:
data_dir: "/data1/tidb-data/tikv-cdc-8600"
log_dir: "/data1/tidb-deploy/tikv-cdc-8600/log"

# # Server configs are used to specify the configuration of TiCDC Servers.
cdc_servers:
- host: 10.0.1.20
# # SSH port of the server.
# ssh_port: 22
# # TiCDC Server communication port.
port: 8300
# # TiCDC Server data storage directory.
data_dir: "/data1/tidb-deploy/cdc-8300"
# # TiCDC Server log file storage directory.
log_dir: "/data1/tidb-deploy/cdc-8300/log"
# # TiCDC Server deployment file, startup script, configuration file storage directory.
deploy_dir: "/data1/tidb-deploy/cdc-8300"
# gc-ttl: 86400 # 24h
# tz: "System"
# numa_node: "0,1"
# config:
# log.level: warn
# ticdc_cluster_id: "default"
- host: 10.0.1.21
# ssh_port: 22
port: 8301
data_dir: "/data2/tidb-deploy/cdc-8301"
log_dir: "/data2/tidb-deploy/cdc-8301/log"
deploy_dir: "/data2/tidb-deploy/cdc-8301"

# # Server configs are used to specify the configuration of TiDB Dashboard Servers. Available from v6.5.0
# tidb_dashboard_servers:
# # The ip address of the PD Server.
Expand All @@ -315,9 +341,8 @@ kvcdc_servers:
# # PD Server log file storage directory.
# log_dir: "/tidb-deploy/tidb-dashboard-12333/log"
# # numa node bindings.
# numa_node: "0,1"


# numa_node: "0,1"

# # Server configs are used to specify the configuration of Prometheus Server.
monitoring_servers:
# # The ip address of the Monitoring Server.
Expand Down
Loading