From 3c7aeb5c81ec6fa8e91aeb9cf75a3128e6734054 Mon Sep 17 00:00:00 2001 From: nhsmw Date: Tue, 29 Oct 2024 15:11:03 +0800 Subject: [PATCH] Update topology.example.yaml --- embed/examples/cluster/topology.example.yaml | 31 ++++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/embed/examples/cluster/topology.example.yaml b/embed/examples/cluster/topology.example.yaml index ce9953c783..3b29bea286 100644 --- a/embed/examples/cluster/topology.example.yaml +++ b/embed/examples/cluster/topology.example.yaml @@ -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. @@ -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.