@@ -92,43 +92,59 @@ pump_servers:
92
92
- host : 10.0.1.1
93
93
ssh_port : 22
94
94
port : 8250
95
- deploy_dir : " /tidb-deploy/pump-8249 "
96
- data_dir : " /tidb-data/pump-8249 "
95
+ deploy_dir : " /tidb-deploy/pump-8250 "
96
+ data_dir : " /tidb-data/pump-8250 "
97
97
# The following configs are used to overwrite the `server_configs.pump` values.
98
98
config :
99
99
gc : 7
100
100
- host : 10.0.1.2
101
101
ssh_port : 22
102
102
port : 8250
103
- deploy_dir : " /tidb-deploy/pump-8249 "
104
- data_dir : " /tidb-data/pump-8249 "
103
+ deploy_dir : " /tidb-deploy/pump-8250 "
104
+ data_dir : " /tidb-data/pump-8250 "
105
105
# The following configs are used to overwrite the `server_configs.pump` values.
106
106
config :
107
107
gc : 7
108
108
- host : 10.0.1.3
109
109
ssh_port : 22
110
110
port : 8250
111
- deploy_dir : " /tidb-deploy/pump-8249 "
112
- data_dir : " /tidb-data/pump-8249 "
111
+ deploy_dir : " /tidb-deploy/pump-8250 "
112
+ data_dir : " /tidb-data/pump-8250 "
113
113
# The following configs are used to overwrite the `server_configs.pump` values.
114
114
config :
115
115
gc : 7
116
116
drainer_servers :
117
117
- host : 10.0.1.12
118
118
port : 8249
119
+ deploy_dir : " /tidb-deploy/drainer-8249"
119
120
data_dir : " /tidb-data/drainer-8249"
120
121
# If drainer doesn't have a checkpoint, use initial commitTS as the initial checkpoint.
121
122
# Will get a latest timestamp from pd if commit_ts is set to -1 (the default value).
122
123
commit_ts : -1
123
- deploy_dir : " /tidb-deploy/drainer-8249"
124
124
# The following configs are used to overwrite the `server_configs.drainer` values.
125
125
config :
126
126
syncer.db-type : " tidb"
127
127
syncer.to.host : " 10.0.1.12"
128
128
syncer.to.user : " root"
129
129
syncer.to.password : " "
130
130
syncer.to.port : 4000
131
-
131
+ - host : 10.0.1.13
132
+ port : 8249
133
+ deploy_dir : " /tidb-deploy/drainer-8249"
134
+ data_dir : " /tidb-data/drainer-8249"
135
+ # If Drainer does not have a checkpoint, use the initial commitTS as the initial checkpoint.
136
+ # If commit_ts is set to -1 (the default value), you will get a latest timestamp from PD.
137
+ commit_ts : -1
138
+ # The following configurations are used to overwrite the `server_configs.drainer` values.
139
+ config :
140
+ syncer.db-type : " kafka"
141
+ syncer.replicate-do-db :
142
+ - db1
143
+ - db2
144
+ syncer.to.kafka-addrs : " 10.0.1.20:9092,10.0.1.21:9092,10.0.1.22:9092"
145
+ syncer.to.kafka-version : " 0.10.0.0"
146
+ syncer.to.topic-name : " asyouwish"
147
+
132
148
monitoring_servers :
133
149
- host : 10.0.1.10
134
150
# ssh_port: 22
0 commit comments