dm2-job.toml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/dm2-job.pid"
  5. dir = "./"
  6. checkFile = "/data/www/dm2-job.html"
  7. [infoc2]
  8. taskID = "000279"
  9. proto = "tcp"
  10. addr = "172.18.33.125:15140"
  11. chanSize = 10240
  12. [db]
  13. [db.dmwriter]
  14. addr = "172.16.33.205:3310"
  15. dsn = "test_3308:test_3308@tcp(172.16.33.205:3310)/bilibili_dm_meta?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8mb4"
  16. active = 10
  17. idle = 5
  18. idleTimeout ="4h"
  19. queryTimeout = "500ms"
  20. execTimeout = "500ms"
  21. tranTimeout = "500ms"
  22. [db.dmwriter.breaker]
  23. window = "3s"
  24. sleep = "100ms"
  25. bucket = 10
  26. ratio = 0.5
  27. request = 100
  28. [db.dmreader]
  29. addr = "172.16.33.205:3310"
  30. dsn = "test_3308:test_3308@tcp(172.16.33.205:3310)/bilibili_dm_meta?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8mb4"
  31. active = 10
  32. idle = 5
  33. idleTimeout ="4h"
  34. queryTimeout = "500ms"
  35. execTimeout = "500ms"
  36. tranTimeout = "500ms"
  37. [db.dmreader.breaker]
  38. window = "3s"
  39. sleep = "100ms"
  40. bucket = 10
  41. ratio = 0.5
  42. request = 100
  43. [db.biliDMWriter]
  44. addr = "172.16.33.205:3308"
  45. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_dm?timeout=5s&readTimeout=5s&writeTimeout=15s&parseTime=true&loc=Local&charset=utf8"
  46. active = 5
  47. idle = 5
  48. idleTimeout ="4h"
  49. queryTimeout = "3s"
  50. execTimeout = "3s"
  51. tranTimeout = "3s"
  52. [db.biliDMWriter.breaker]
  53. window = "3s"
  54. sleep = "100ms"
  55. bucket = 10
  56. ratio = 0.5
  57. request = 100
  58. [redis]
  59. [redis.dm]
  60. name = "dm2-job"
  61. proto = "tcp"
  62. addr = "127.0.0.1:6379"
  63. active = 10
  64. idle = 5
  65. dialTimeout = "1s"
  66. readTimeout = "1s"
  67. writeTimeout = "1s"
  68. idleTimeout = "10s"
  69. expire = "24h"
  70. [redis.dmRct]
  71. name = "dm2-job"
  72. proto = "tcp"
  73. addr = "172.16.33.54:6379"
  74. active = 10
  75. idle = 5
  76. dialTimeout = "1s"
  77. readTimeout = "1s"
  78. writeTimeout = "1s"
  79. idleTimeout = "10s"
  80. expire = "720h"
  81. [memcache]
  82. name = "dm2-job"
  83. proto = "tcp"
  84. addr = "172.16.33.54:11211"
  85. idle = 5
  86. active = 10
  87. dialTimeout = "1s"
  88. readTimeout = "1s"
  89. writeTimeout = "1s"
  90. idleTimeout = "80s"
  91. expire = "24h"
  92. [subtitlememcache]
  93. name = "dm2-job"
  94. proto = "tcp"
  95. addr = "172.16.33.54:11211"
  96. idle = 5
  97. active = 10
  98. dialTimeout = "1s"
  99. readTimeout = "1s"
  100. writeTimeout = "1s"
  101. idleTimeout = "80s"
  102. expire = "24h"
  103. [archiveRPC]
  104. group = "test"
  105. timeout = "1s"
  106. [databus]
  107. [databus.indexCsmr]
  108. key = "0Pub71KvEMKXu63qtztq"
  109. secret = "0Pub71KvEMKXu63qtztr"
  110. group = "DMMeta-UGC-S"
  111. topic = "DMMeta-T"
  112. action = "sub"
  113. name = "dm2-job"
  114. proto = "tcp"
  115. addr = "172.16.33.158:6205"
  116. idle = 1
  117. active = 1
  118. dialTimeout = "1s"
  119. readTimeout = "40s"
  120. writeTimeout = "1s"
  121. idleTimeout = "60s"
  122. [databus.subjectCsmr]
  123. key = "0Pub71KvEMKXu63qtztq"
  124. secret = "0Pub71KvEMKXu63qtztr"
  125. group = "DMSubject-UGC-S"
  126. topic = "DMSubject-T"
  127. action = "sub"
  128. name = "dm2-job"
  129. proto = "tcp"
  130. addr = "172.16.33.158:6205"
  131. idle = 1
  132. active = 1
  133. dialTimeout = "1s"
  134. readTimeout = "40s"
  135. writeTimeout = "1s"
  136. idleTimeout = "60s"
  137. [databus.actionCsmr]
  138. key = "0Pub71KvEMKXu63qtztq"
  139. secret = "0Pub71KvEMKXu63qtztr"
  140. group = "DMAction-UGC-S"
  141. topic = "DMAction-T"
  142. action = "sub"
  143. name = "dm2-job"
  144. proto = "tcp"
  145. addr = "172.16.33.158:6205"
  146. idle = 1
  147. active = 1
  148. dialTimeout = "1s"
  149. readTimeout = "40s"
  150. writeTimeout = "1s"
  151. idleTimeout = "60s"
  152. [databus.reportCsmr]
  153. key = "170e302355453683"
  154. secret = "51b66df3ebeca2b08f0017f350b6f0ce"
  155. group = "DMReport-MainCommunity-S"
  156. topic = "DMReport-T"
  157. action = "sub"
  158. name = "dm2-job"
  159. proto = "tcp"
  160. addr = "172.16.33.158:6205"
  161. idle = 1
  162. active = 1
  163. dialTimeout = "1s"
  164. readTimeout = "40s"
  165. writeTimeout = "1s"
  166. idleTimeout = "60s"
  167. [databus.videoupCsmr]
  168. key = "170e302355453683"
  169. secret = "3d0e8db7bed0503949e545a469789279"
  170. group = "Videoup2Bvc-MainCommunity-S"
  171. topic = "Videoup2Bvc"
  172. action = "sub"
  173. name = "dm2-job"
  174. proto = "tcp"
  175. addr = "172.18.33.50:6205"
  176. idle = 1
  177. active = 1
  178. dialTimeout = "1s"
  179. readTimeout = "40s"
  180. writeTimeout = "1s"
  181. idleTimeout = "60s"
  182. [databus.subtitleAuditCsmr]
  183. key = "170e302355453683"
  184. secret = "3d0e8db7bed0503949e545a469789279"
  185. group = "SubtitleCheck-MainCommunity-S"
  186. topic = "SubtitleCheck-T"
  187. action = "sub"
  188. name = "dm2-job"
  189. proto = "tcp"
  190. addr = "172.16.38.154:6205"
  191. idle = 1
  192. active = 1
  193. dialTimeout = "1s"
  194. readTimeout = "40s"
  195. writeTimeout = "1s"
  196. idleTimeout = "60s"
  197. [httpClient]
  198. key = "f6433799dbd88751"
  199. secret = "36f8ddb1806207fe07013ab6a77a3935"
  200. dial = "1s"
  201. timeout = "2s"
  202. keepAlive = "60s"
  203. timer = 1000
  204. [httpClient.breaker]
  205. window = "3s"
  206. sleep = "100ms"
  207. bucket = 10
  208. ratio = 0.5
  209. request = 100
  210. [bfsClient]
  211. key = "f6433799dbd88751"
  212. secret = "36f8ddb1806207fe07013ab6a77a3935"
  213. dial = "1s"
  214. timeout = "2s"
  215. keepAlive = "60s"
  216. timer = 1000
  217. [bfsClient.breaker]
  218. window = "3s"
  219. sleep = "100ms"
  220. bucket = 10
  221. ratio = 0.5
  222. request = 100
  223. [host]
  224. videoup = "http://uat-archive.api.bilibili.co"
  225. mask = "http://172.22.33.111:8200"
  226. datarank = "http://data-test.bilibili.co"
  227. merakHost="http://merak.bilibili.co"
  228. [realname]
  229. "1,2" = 2
  230. [seqRPC]
  231. policy = "sharding"
  232. timeout = "1s"
  233. [seq]
  234. businessID = 10
  235. token = "Nf9phmDdzjTMW9M5V8YQuLpVTwhvn5IO"
  236. [maskCate]
  237. tids=[185]
  238. interval = "10m"
  239. [taskConf]
  240. delInterval = "1m"
  241. resInterval = "10m"
  242. ResFieldLen = 7
  243. DelNum = 100
  244. DelLimit = 20
  245. msgCC = ["guhao","fengduzhen"]
  246. MsgPublicKey= "71f079db59672ecec5b8d6f252c4b59ab2a8a227mainsite@bilibili.com"