figure-job-test.toml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. version = "1.0.0"
  2. user = "nobody"
  3. pid = "/tmp/figure-job.pid"
  4. dir = "./"
  5. perf = "127.0.0.1:7070"
  6. checkFile = "/data/www/figure-job.html"
  7. family = "figure-job"
  8. [log]
  9. dir = "/data/log/figure-job"
  10. [bm]
  11. addr = "0.0.0.0:7072"
  12. timeout = "1s"
  13. maxListen = 100
  14. [figure]
  15. spypath = "./data/spy"
  16. vippath = "./data/vip"
  17. sync = false
  18. lawful = 80
  19. wide = 0
  20. friendly = 50
  21. bounty = 0
  22. creativity = 0
  23. [mysql]
  24. addr = "172.16.0.28:3306"
  25. dsn = "root:123456@tcp(172.16.0.28:3306)/bilibili_figure?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  26. active = 5
  27. idle = 2
  28. queryTimeout = "1s"
  29. execTimeout = "1s"
  30. tranTimeout = "1s"
  31. [mysql.breaker]
  32. window = "3s"
  33. sleep = "100ms"
  34. bucket = 10
  35. ratio = 0.5
  36. request = 100
  37. [dataSource]
  38. [dataSource.accountExp]
  39. key = "0QEO9F8JuuIxZzNDvklH"
  40. secret= "0QEO9F8JuuIxZzNDvklI"
  41. group= "AccountLog-MainAccount-Figure-S"
  42. topic= "AccountLog-T"
  43. action="sub"
  44. name = "figure-job/databus"
  45. proto = "tcp"
  46. addr = "172.16.33.158:6205"
  47. idle = 2
  48. active = 10
  49. dialTimeout = "1s"
  50. readTimeout = "60s"
  51. writeTimeout = "1s"
  52. idleTimeout = "10s"
  53. expire = "1h"
  54. [dataSource.accountReg]
  55. key = "0QEO9F8JuuIxZzNDvklH"
  56. secret= "0QEO9F8JuuIxZzNDvklI"
  57. group= "PassportPurgeCache-Figure-S"
  58. topic= "PassportPurgeCache-T"
  59. action="sub"
  60. name = "figure-job/databus"
  61. proto = "tcp"
  62. addr = "172.16.33.158:6205"
  63. idle = 2
  64. active = 10
  65. dialTimeout = "1s"
  66. readTimeout = "60s"
  67. writeTimeout = "1s"
  68. idleTimeout = "10s"
  69. expire = "1h"
  70. [dataSource.vip]
  71. key = "0QEO9F8JuuIxZzNDvklH"
  72. secret= "0QEO9F8JuuIxZzNDvklI"
  73. group= "VipBinlog-Figure-S"
  74. topic= "VipBinlog-T"
  75. action="sub"
  76. name = "figure-job/databus"
  77. proto = "tcp"
  78. addr = "172.16.33.158:6205"
  79. idle = 2
  80. active = 10
  81. dialTimeout = "1s"
  82. readTimeout = "60s"
  83. writeTimeout = "1s"
  84. idleTimeout = "10s"
  85. expire = "1h"
  86. [dataSource.spy]
  87. key = "0QEO9F8JuuIxZzNDvklH"
  88. secret= "0QEO9F8JuuIxZzNDvklI"
  89. group= "Spy-Figure-S"
  90. topic= "Spy-T"
  91. action="sub"
  92. name = "figure-job/databus"
  93. proto = "tcp"
  94. addr = "172.16.33.158:6205"
  95. idle = 2
  96. active = 10
  97. dialTimeout = "1s"
  98. readTimeout = "60s"
  99. writeTimeout = "1s"
  100. idleTimeout = "10s"
  101. expire = "1h"
  102. [dataSource.coin]
  103. key = "0QEO9F8JuuIxZzNDvklH"
  104. secret= "0QEO9F8JuuIxZzNDvklI"
  105. group= "Coin-Figure-S"
  106. topic= "Coin-T"
  107. action="sub"
  108. name = "figure-job/databus"
  109. proto = "tcp"
  110. addr = "172.16.33.158:6205"
  111. idle = 2
  112. active = 10
  113. dialTimeout = "1s"
  114. readTimeout = "60s"
  115. writeTimeout = "1s"
  116. idleTimeout = "10s"
  117. expire = "1h"
  118. [dataSource.replyInfo]
  119. key = "0QEO9F8JuuIxZzNDvklH"
  120. secret= "0QEO9F8JuuIxZzNDvklI"
  121. group= "Reply-Figure-S"
  122. topic= "Reply-T"
  123. action="sub"
  124. name = "figure-job/databus"
  125. proto = "tcp"
  126. addr = "172.16.33.158:6205"
  127. idle = 2
  128. active = 10
  129. dialTimeout = "1s"
  130. readTimeout = "60s"
  131. writeTimeout = "1s"
  132. idleTimeout = "10s"
  133. expire = "1h"
  134. # [dataSource.pay]
  135. # key = "0QEO9F8JuuIxZzNDvklH"
  136. # secret= "0QEO9F8JuuIxZzNDvklI"
  137. # group= "PayBinlog-Figure-S"
  138. # topic= "PayBinlog-T"
  139. # action="sub"
  140. # name = "figure-job/databus"
  141. # proto = "tcp"
  142. # addr = "172.16.33.158:6205"
  143. # idle = 2
  144. # active = 10
  145. # dialTimeout = "1s"
  146. # readTimeout = "60s"
  147. # writeTimeout = "1s"
  148. # idleTimeout = "10s"
  149. # expire = "1h"
  150. # [dataSource.blocked]
  151. # key = "0QEO9F8JuuIxZzNDvklH"
  152. # secret= "0QEO9F8JuuIxZzNDvklI"
  153. # group= "Blocked-Figure-S"
  154. # topic= "Blocked-T"
  155. # action="sub"
  156. # name = "figure-job/databus"
  157. # proto = "tcp"
  158. # addr = "172.16.33.158:6205"
  159. # idle = 2
  160. # active = 10
  161. # dialTimeout = "1s"
  162. # readTimeout = "60s"
  163. # writeTimeout = "1s"
  164. # idleTimeout = "10s"
  165. # expire = "1h"
  166. # [dataSource.danmaku]
  167. # key = "0QEO9F8JuuIxZzNDvklH"
  168. # secret= "0QEO9F8JuuIxZzNDvklI"
  169. # group= "DMAction-Figure-S"
  170. # topic= "DMAction-T"
  171. # action="sub"
  172. # name = "figure-job/databus"
  173. # proto = "tcp"
  174. # addr = "172.16.33.158:6205"
  175. # idle = 2
  176. # active = 10
  177. # dialTimeout = "1s"
  178. # readTimeout = "60s"
  179. # writeTimeout = "1s"
  180. # idleTimeout = "10s"
  181. # expire = "1h"
  182. [hbase]
  183. master = ""
  184. meta = ""
  185. dialTimeout = "1s"
  186. readTimeout = "10s"
  187. readsTimeout = "10s"
  188. writeTimeout = "10s"
  189. writesTimeout = "10s"
  190. [hbase.zookeeper]
  191. root = ""
  192. addrs = ["10.23.66.145:2181"]
  193. timeout = "30s"
  194. [redis]
  195. name = "figure-service"
  196. proto = "tcp"
  197. addr = "172.16.33.54:6379"
  198. idle = 100
  199. active = 100
  200. dialTimeout = "1s"
  201. readTimeout = "1s"
  202. writeTimeout = "1s"
  203. idleTimeout = "10s"
  204. expire = "24h"
  205. waiteMidExpire = "192h"