app-wall-job-test.toml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. # This is a TOML document. Boom
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/app-wall-job.pid"
  5. dir = "./"
  6. perf = "0.0.0.0:7610"
  7. chanNum = 8
  8. chanDBNum = 8
  9. tick = "20s"
  10. monthly=false
  11. [unicomuserInfoc2]
  12. taskID = "000951"
  13. proto = "tcp"
  14. addr = ""
  15. chanSize = 10240
  16. [unicomPackInfoc]
  17. taskID = "000918"
  18. proto = "tcp"
  19. addr = ""
  20. chanSize = 10240
  21. [log]
  22. dir = "/data/log/app-wall-job"
  23. [tracer]
  24. family = "app-wall-job"
  25. proto = "unixgram"
  26. addr = "/var/run/dapper-collect/dapper-collect.sock"
  27. [host]
  28. app = "http://app.bilibili.co"
  29. unicomFlow = "http://open.10010.com"
  30. unicom = "http://123.125.99.7:9001"
  31. [bm]
  32. [bm.inner]
  33. addr = "0.0.0.0:7611"
  34. maxListen = 10
  35. timeout = "1s"
  36. [bm.local]
  37. addr = "0.0.0.0:7612"
  38. maxListen = 10
  39. timeout = "1s"
  40. [identify]
  41. whiteAccessKey = ""
  42. whiteMid = 0
  43. [identify.app]
  44. key = "6a29f8ed87407c11"
  45. secret = "d3c5a85f5b895a03735b5d20a273bc57"
  46. [identify.memcache]
  47. name = "go-business/identify"
  48. proto = "tcp"
  49. addr = "172.16.33.54:11211"
  50. active = 5
  51. idle = 10
  52. dialTimeout = "1s"
  53. readTimeout = "1s"
  54. writeTimeout = "1s"
  55. idleTimeout = "80s"
  56. [identify.host]
  57. auth = "http://passport.bilibili.com"
  58. secret = "http://open.bilibili.com"
  59. [identify.httpClient]
  60. key = "f022126a8a365e20"
  61. secret = "b7b86838145d634b487e67b811b8fab2"
  62. dial = "30ms"
  63. timeout = "100ms"
  64. keepAlive = "60s"
  65. [identify.httpClient.breaker]
  66. window = "10s"
  67. sleep = "100ms"
  68. bucket = 10
  69. ratio = 0.5
  70. request = 100
  71. [identify.httpClient.url]
  72. "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  73. "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  74. "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  75. [ecode]
  76. domain = "uat-api.bilibili.co"
  77. all = "1h"
  78. diff = "5m"
  79. [ecode.clientconfig]
  80. key = "c1a1cb2d89c33794"
  81. secret = "dda47eeca111e03e6845017505baea13"
  82. dial = "2000ms"
  83. timeout = "2s"
  84. keepAlive = "10s"
  85. timer = 128
  86. [ecode.clientconfig.breaker]
  87. window ="3s"
  88. sleep ="100ms"
  89. bucket = 10
  90. ratio = 0.5
  91. request = 100
  92. [mysql]
  93. [mysql.show]
  94. addr = "172.16.33.205:3308"
  95. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_show?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  96. active = 5
  97. idle = 2
  98. idleTimeout ="4h"
  99. queryTimeout = "1s"
  100. execTimeout = "1s"
  101. tranTimeout = "1s"
  102. [mysql.show.breaker]
  103. window = "3s"
  104. sleep = "100ms"
  105. bucket = 10
  106. ratio = 0.5
  107. request = 100
  108. [redis]
  109. [redis.feed]
  110. name = "app-wall-job/active"
  111. proto = "tcp"
  112. addr = "172.16.0.148:6379"
  113. active = 10
  114. idle = 10
  115. dialTimeout = "1s"
  116. readTimeout = "1s"
  117. writeTimeout = "1s"
  118. idleTimeout = "10s"
  119. expire = "1m"
  120. [seq]
  121. businessID =1
  122. token ="Y1zHA2esXfd2T6bc1VRHkFWryD01Aswi"
  123. [seqRPC]
  124. pullInterval = "10s"
  125. [seqRPC.client]
  126. timeout = "200ms"
  127. [seqRPC.client.breaker]
  128. window ="3s"
  129. sleep ="100ms"
  130. bucket = 10
  131. ratio = 0.5
  132. request = 100
  133. [seqRPC.zookeeper]
  134. root = "/microservice/seq-proxy/"
  135. addrs = ["172.16.33.169:2181"]
  136. timeout = "30s"
  137. [consumer]
  138. topic = "app-wall-job"
  139. group = "lancer_main_dw_channel_new_devices"
  140. Offset = "new"
  141. Brokers = ["172.19.40.183:9092,172.19.40.184:9092,172.19.40.185:9092,172.19.40.186:9092,172.19.40.187:9092,172.19.40.188:92,172.19.40.189:9092,172.19.40.190:9092,172.19.40.191:9092,172.19.40.192:9092"]
  142. [httpClient]
  143. key = "e7482d29be4a95b8"
  144. secret = "9e803791cdef756e75faee68e12b7442"
  145. dial = "30ms"
  146. timeout = "100ms"
  147. keepAlive = "60s"
  148. [httpClient.breaker]
  149. window = "10s"
  150. sleep = "100ms"
  151. bucket = 10
  152. ratio = 0.5
  153. request = 100
  154. [HTTPUnicom]
  155. key = "e7482d29be4a95b8"
  156. secret = "9e803791cdef756e75faee68e12b7442"
  157. dial = "500ms"
  158. timeout = "4s"
  159. keepAlive = "60s"
  160. timer = 10
  161. [HTTPUnicom.breaker]
  162. window = "3s"
  163. sleep = "100ms"
  164. bucket = 10
  165. ratio = 0.5
  166. request = 100
  167. [unicom]
  168. packKeyExpired = "24h"
  169. keyExpired = "24h"
  170. [memcache]
  171. [memcache.operator]
  172. name = "app-show/archive"
  173. proto = "tcp"
  174. addr = "172.16.33.54:11213"
  175. active = 50
  176. idle = 10
  177. dialTimeout = "50ms"
  178. readTimeout = "100ms"
  179. writeTimeout = "100ms"
  180. idleTimeout = "80s"
  181. expire = "10s"
  182. [reportDatabus]
  183. key = "8e27ab7e39270b59"
  184. secret = "477df6a068d7332a163f95abbad2079c"
  185. group = "ArchiveClick-MainAppSvr-2-S"
  186. topic = "ArchiveClick-T"
  187. action = "sub"
  188. name = "report-click/sub"
  189. proto = "tcp"
  190. addr = "172.18.33.50:6205"
  191. active = 5
  192. idle = 1
  193. dialTimeout = "1s"
  194. readTimeout = "1s"
  195. writeTimeout = "1s"
  196. idleTimeout = "10s"
  197. # [consumer]
  198. # topic = "lancer_main_dw_channel_new_devices"
  199. # group = "app-wall-job"
  200. # offset = "new"
  201. # brokers = ["172.19.40.183:9092"]