fix #802: 从otter中剥离MySQL 相关同步实现,作为example的参考

This commit is contained in:
winger
2018-08-07 12:04:57 +08:00
parent 7c7ce43455
commit 7d9e2dc69b
20 changed files with 2417 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# client 配置
zk.servers=127.0.0.1:2181
# 5 * 1024
client.batch.size=5120
client.debug=false
client.destination=example
client.username=canal
client.password=canal
client.exceptionstrategy=1
client.retrytimes=3
client.filter=.*\\..*
# 同步目标: mysql 配置
target.mysql.url=jdbc:mysql://127.0.0.1:4306
target.mysql.username=root
target.mysql.password=123456