|
@@ -6,7 +6,7 @@ canal.instance.mysql.slaveId=2 |
|
|
canal.instance.gtidon=false |
|
|
canal.instance.gtidon=false |
|
|
# 主库信息 |
|
|
# 主库信息 |
|
|
# 主库地址及端口 |
|
|
# 主库地址及端口 |
|
|
canal.instance.master.address=172.28.123.25:3306 |
|
|
|
|
|
|
|
|
canal.instance.master.address=127.0.0.1:3306 |
|
|
#canal.instance.master.journal.name= |
|
|
#canal.instance.master.journal.name= |
|
|
#canal.instance.master.position= |
|
|
#canal.instance.master.position= |
|
|
#canal.instance.master.timestamp= |
|
|
#canal.instance.master.timestamp= |
|
@@ -30,14 +30,14 @@ canal.instance.tsdb.enable=true |
|
|
|
|
|
|
|
|
# username/password |
|
|
# username/password |
|
|
canal.instance.dbUsername=root |
|
|
canal.instance.dbUsername=root |
|
|
canal.instance.dbPassword=root |
|
|
|
|
|
|
|
|
canal.instance.dbPassword=Jjkj@2022 |
|
|
canal.instance.connectionCharset = UTF-8 |
|
|
canal.instance.connectionCharset = UTF-8 |
|
|
# enable druid Decrypt database password |
|
|
# enable druid Decrypt database password |
|
|
canal.instance.enableDruid=false |
|
|
canal.instance.enableDruid=false |
|
|
#canal.instance.pwdPublicKey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALK4BUxdDltRRE5/zXpVEVPUgunvscYFtEip3pmLlhrWpacX7y7GCMo2/JM6LeHmiiNdH1FWgGCpUfircSwlWKUCAwEAAQ== |
|
|
#canal.instance.pwdPublicKey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALK4BUxdDltRRE5/zXpVEVPUgunvscYFtEip3pmLlhrWpacX7y7GCMo2/JM6LeHmiiNdH1FWgGCpUfircSwlWKUCAwEAAQ== |
|
|
|
|
|
|
|
|
# table regex |
|
|
# table regex |
|
|
canal.instance.filter.regex=tzrs\\..* |
|
|
|
|
|
|
|
|
canal.instance.filter.regex=pgzx\\..* |
|
|
# table black regex |
|
|
# table black regex |
|
|
canal.instance.filter.black.regex=mysql\\.slave_.* |
|
|
canal.instance.filter.black.regex=mysql\\.slave_.* |
|
|
# table field filter(format: schema1.tableName1:field1/field2,schema2.tableName2:field1/field2) |
|
|
# table field filter(format: schema1.tableName1:field1/field2,schema2.tableName2:field1/field2) |
|
|