mirror schema 完成测试

This commit is contained in:
mcy
2018-12-14 14:58:15 +08:00
parent fbf249580f
commit 3acdffb297
12 changed files with 158 additions and 59 deletions

View File

@@ -34,7 +34,14 @@ canal.conf:
groups:
- groupId: g1
outerAdapters:
# - name: logger
- name: logger
# - name: rdb
# key: mysql1
# properties:
# jdbc.driverClassName: com.mysql.jdbc.Driver
# jdbc.url: jdbc:mysql://192.168.0.36/mytest?useUnicode=true
# jdbc.username: root
# jdbc.password: 121212
# - name: rdb
# key: oracle1
# properties:
@@ -42,13 +49,15 @@ canal.conf:
# jdbc.url: jdbc:oracle:thin:@localhost:49161:XE
# jdbc.username: mytest
# jdbc.password: m121212
- name: rdb
key: mysql1
properties:
jdbc.driverClassName: com.mysql.jdbc.Driver
jdbc.url: jdbc:mysql://192.168.100.36/mytest?useUnicode=true
jdbc.username: root
jdbc.password: Ambari-123
# - name: rdb
# key: postgres1
# properties:
# jdbc.driverClassName: org.postgresql.Driver
# 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