指定是否按主键hash并行同步, 否则按表名hash表间并行同步

This commit is contained in:
mcy
2018-11-15 10:39:34 +08:00
parent 915849b83a
commit 997646b2db
10 changed files with 164 additions and 112 deletions

View File

@@ -35,6 +35,8 @@ canal.conf:
# jdbc.url: jdbc:oracle:thin:@localhost:49161:XE
# jdbc.username: mytest
# jdbc.password: m121212
# threads: 5
# commitSize: 3000
# - name: rdb
# key: postgres1
# properties:
@@ -42,6 +44,8 @@ canal.conf:
# jdbc.url: jdbc:postgresql://localhost:5432/postgres
# jdbc.username: postgres
# jdbc.password: 121212
# threads: 1
# commitSize: 3000
# - name: hbase
# properties:
# hbase.zookeeper.quorum: 127.0.0.1