2.0重构版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
2.1 KiB

  1. #################################################
  2. ## mysql serverId , v1.0.26+ will autoGen
  3. canal.instance.mysql.slaveId=2
  4. # enable gtid use true/false
  5. canal.instance.gtidon=false
  6. # position info
  7. canal.instance.master.address=172.28.123.25:3306
  8. #canal.instance.master.journal.name=
  9. #canal.instance.master.position=
  10. #canal.instance.master.timestamp=
  11. #canal.instance.master.gtid=
  12. # rds oss binlog
  13. canal.instance.rds.accesskey=
  14. canal.instance.rds.secretkey=
  15. canal.instance.rds.instanceId=
  16. # table meta tsdb info
  17. canal.instance.tsdb.enable=true
  18. #canal.instance.tsdb.url=jdbc:mysql://127.0.0.1:3306/canal_tsdb
  19. #canal.instance.tsdb.dbUsername=canal
  20. #canal.instance.tsdb.dbPassword=canal
  21. #canal.instance.standby.address =
  22. #canal.instance.standby.journal.name =
  23. #canal.instance.standby.position =
  24. #canal.instance.standby.timestamp =
  25. #canal.instance.standby.gtid=
  26. # username/password
  27. canal.instance.dbUsername=root
  28. canal.instance.dbPassword=root
  29. canal.instance.connectionCharset = UTF-8
  30. # enable druid Decrypt database password
  31. canal.instance.enableDruid=false
  32. #canal.instance.pwdPublicKey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALK4BUxdDltRRE5/zXpVEVPUgunvscYFtEip3pmLlhrWpacX7y7GCMo2/JM6LeHmiiNdH1FWgGCpUfircSwlWKUCAwEAAQ==
  33. # table regex
  34. canal.instance.filter.regex=scmz\\..*
  35. # table black regex
  36. canal.instance.filter.black.regex=mysql\\.slave_.*
  37. # table field filter(format: schema1.tableName1:field1/field2,schema2.tableName2:field1/field2)
  38. #canal.instance.filter.field=test1.t_product:id/subject/keywords,test2.t_company:id/name/contact/ch
  39. # table field black filter(format: schema1.tableName1:field1/field2,schema2.tableName2:field1/field2)
  40. #canal.instance.filter.black.field=test1.t_product:subject/product_image,test2.t_company:id/name/contact/ch
  41. # mq config
  42. canal.mq.topic=example
  43. # dynamic topic route by schema or table regex
  44. #canal.mq.dynamicTopic=mytest1.user,topic2:mytest2\\..*,.*\\..*
  45. canal.mq.partition=0
  46. # hash partition config
  47. #canal.mq.enableDynamicQueuePartition=false
  48. #canal.mq.partitionsNum=3
  49. #canal.mq.dynamicTopicPartitionNum=test.*:4,mycanal:6
  50. #canal.mq.partitionHash=test.table:id^name,.*\\..*
  51. #################################################