win32.bat 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. [canal]
  2. # MySQL host
  3. host = 127.0.0.1
  4. # MySQL port
  5. port = 3326
  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,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_xz
  35. # showlog
  36. showlog = 0
  37. onetimerows = 100
  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_xz/xz
  56. qos = 1
  57. CleanSession = true
  58. #默认用这个
  59. host =mq.heatwatch.cn
  60. port = 1983
  61. path =
  62. #新希望用这个
  63. #host = auuhfh5e8d294-ats.iot.us-east-2.amazonaws.com
  64. #port = 8883
  65. #path = /MyIotThing
  66. #使用kafka时这里设置true 否则 false
  67. saslEnable = true
  68. username = kptmqtt
  69. saslpassword = kepaiteng
  70. #使用mqtt时这里设置true 否则 false
  71. tlsEnable = false
  72. clientcert = pem/bbbc7ee0f6-certificate.pem.crt
  73. clientkey = pem/bbbc7ee0f6-private.pem.key
  74. cacert =
  75. [Service]
  76. ServiceName = KPTCanalService
  77. ServiceDisplayName = KPTCanalService
  78. ServiceDescription = 科湃腾数据同步服务
  79. [barfeedremain]
  80. barname = ztFeedpName
  81. deleteField = pastureid,operatetime,emp,pid,times
  82. [barmilk]
  83. barname = feedpbname
  84. deleteField = pastureid,avgmonthage,bw,dayw,fetal,dayspre,pro,lactose,tem,cowsum,cowclass,cowclassid,bigcowclass,emp
  85. [downloadedplan]
  86. deleteField = pastureid,plantime,outitems,ptstempid,ptstempletname,thoweight,fpweight,lweight,iweight,oweight,tversion,ptversion,enable,isUse,completedtime
  87. [downloadplandtl1]
  88. flpid = FPointID
  89. dryfeed = Dry
  90. pricefeed = UPrice
  91. deleteField = pastureid,begintime,optdevice,outweight,date
  92. [downloadplandtl1_exec]
  93. deleteField= pastureid,flpid,begintime,optdevice,date,surplus
  94. [downloadplandtl2]
  95. allowratio = feedpallowratio
  96. deleteField = pastureid,lweighthis,remainleftw,allowrw,begintime,begintag,endtag,optdevice,bigcowname,priceweight,fpid,useinbartype,date
  97. [recweight]
  98. deleteField = pastureid
  99. [feedtemplet]
  100. deleteField = issueversion,issueid,backup1,backup2,cattle,volume,is_modify,group_data_id,group_version,autozone,surplus
  101. [feed]
  102. deleteField = is_surplus