新建文本文档.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. [canal]
  2. # MySQL host
  3. host = mariadb
  4. # MySQL port
  5. port = 3306
  6. # MySQL user, must have replication privilege
  7. user = root
  8. # MySQL password
  9. password = root
  10. # Flavor: mysql or mariadb
  11. flavor = mariadb
  12. # Unique Server ID
  13. serverID = 101
  14. # mysqldump execution path
  15. mysqldump = mysqldump
  16. # dump tables, seperated by comma, will overwrite dbs
  17. tables = ftdetaildate,feedtemplet,feed,barfeedremain,barmilk,templetdry,downloadedplan,downloadplandtl1,downloadplandtl1_exec,downloadplandtl2
  18. # ,recweight
  19. # database for dump tables, seperated by comma, will overwrite dbs
  20. tableDB = tmrwatch2
  21. # ignore tables, must be database.table format, separated by comma
  22. ignoreTables =
  23. # start sync from binlog name
  24. startName =
  25. # start sync from binlog position of
  26. startPos =
  27. # master heartbeat period(*time.Second)
  28. heartbeatPeriod = 60
  29. # connection read timeout(*time.Second)
  30. readTimeout = 90
  31. # nodename key name intpastureid
  32. nodename = pasturecode
  33. # nodevalue value
  34. nodevalue = lymy_czly
  35. # showlog
  36. showlog = 0
  37. onetimerows = 50
  38. [kafka]
  39. # enable kafka
  40. kafkaEnable = false
  41. Offset =
  42. kafka_host = www.kptyun.com
  43. kafka_port = 9092
  44. kafka_topic = tmrwatch_uploaddata_
  45. saslEnable = false
  46. username = root
  47. saslpassword = root
  48. tlsEnable = false
  49. clientcert =
  50. clientkey =
  51. cacert =
  52. [mqtt]
  53. # enable kafka
  54. mqttEnable = true
  55. topic = TMR/LYMY/kptmqtt/lymy_czly/czly
  56. qos = 1
  57. CleanSession = true
  58. host = mq.heatwatch.cn
  59. port = 1983
  60. path =
  61. #host = auuhfh5e8d294-ats.iot.us-east-2.amazonaws.com
  62. #port = 8883
  63. #path = /MyIotThing
  64. saslEnable = true
  65. username = kptmqtt
  66. saslpassword = kepaiteng
  67. tlsEnable = false
  68. clientcert = pem/bbbc7ee0f6-certificate.pem.crt
  69. clientkey = pem/bbbc7ee0f6-private.pem.key
  70. cacert =
  71. [Service]
  72. ServiceName = KPTCanalService
  73. ServiceDisplayName = KPTCanalService
  74. ServiceDescription = ����������ͬ������
  75. [barfeedremain]
  76. barname = ztFeedpName
  77. deleteField = pastureid,operatetime,emp,pid,times,dry
  78. [barmilk]
  79. barname = feedpbname
  80. deleteField = pastureid,avgmonthage,bw,dayw,fetal,dayspre,pro,lactose,tem,cowsum,cowclass,cowclassid,bigcowclass,emp
  81. [downloadedplan]
  82. deleteField = pastureid,plantime,outitems,ptstempid,ptstempletname,thoweight,fpweight,lweight,iweight,oweight,tversion,ptversion,enable,isUse,completedtime,oldtmrid,artificial,driverId
  83. ,remark
  84. [downloadplandtl1]
  85. flpid = FPointID
  86. dryfeed = Dry
  87. pricefeed = UPrice
  88. deleteField = pastureid,begintime,optdevice,outweight,date,deviation,xxwFeedCode
  89. [downloadplandtl1_exec]
  90. deleteField = pastureid,flpid,begintime,optdevice,date,deviation,xxwFeedCode,type
  91. ,surplus
  92. [downloadplandtl2]
  93. allowratio = feedpallowratio
  94. deleteField = pastureid,lweighthis,remainleftw,allowrw,begintime,begintag,endtag,optdevice,bigcowname,priceweight,fpid,useinbartype,date,type
  95. [recweight]
  96. deleteField = pastureid
  97. [feedtemplet]
  98. deleteField = issueversion,issueid,backup1,backup2,cattle,volume,is_modify,group_data_id,group_version,autozone,surplus
  99. [feed]
  100. deleteField = is_surplus