videoup-job-test.toml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. changeDebug = true
  2. changeMid = 111
  3. specialUp = [1684013, 37195767, 15555180, 3078992, 1386981, 3404853]
  4. tels = "15871451480,18733334444"
  5. [bm]
  6. addr="0.0.0.0:6801"
  7. maxListen=1000
  8. timeout="1s"
  9. readTimeout="1s"
  10. writeTimeout="1s"
  11. [host]
  12. message = "http://message.bilibili.com"
  13. monitor = "http://ops-mng.bilibili.co"
  14. api = "http://api.bilibili.co"
  15. act = "http://172.16.33.104"
  16. reccover="http://coverrec.bilibili.co"
  17. [host.bvc]
  18. bvc = "http://bvc-playurl.bilibili.co"
  19. gapKey = "--->"
  20. appendKey = "aXWe(h*xX6!YR8px"
  21. [host.push]
  22. appID = "3"
  23. businessID = "5"
  24. token = "ynt2nxa3uevlf4goejd99zelborhn07s"
  25. [app]
  26. key = "c05dd4e1638a8af0"
  27. secret = "7daa7f8c06cd33c5c3067063c746fdcb"
  28. [xlog]
  29. dir = "/data/log/videoup-job/"
  30. [httpClient]
  31. key = "c05dd4e1638a8af0"
  32. secret = "7daa7f8c06cd33c5c3067063c746fdcb"
  33. dial = "2s"
  34. timeout = "3s"
  35. keepAlive = "60s"
  36. timer = 10
  37. [httpClient.breaker]
  38. window = "10s"
  39. sleep = "100ms"
  40. bucket = 10
  41. ratio = 0.5
  42. request = 100
  43. [db]
  44. [db.archive]
  45. name = "172.16.33.205:3308"
  46. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_archive?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  47. active = 5
  48. idle = 2
  49. idleTimeout ="4h"
  50. queryTimeout = "100ms"
  51. execTimeout = "100ms"
  52. tranTimeout = "200ms"
  53. [db.archive.breaker]
  54. window = "3s"
  55. sleep = "100ms"
  56. bucket = 10
  57. ratio = 0.5
  58. request = 100
  59. [db.archiveRead]
  60. name = "172.16.33.205:3308"
  61. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_archive?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  62. active = 5
  63. idle = 2
  64. idleTimeout ="4h"
  65. queryTimeout = "100ms"
  66. execTimeout = "100ms"
  67. tranTimeout = "200ms"
  68. [db.archiveRead.breaker]
  69. window = "3s"
  70. sleep = "100ms"
  71. bucket = 10
  72. ratio = 0.5
  73. request = 100
  74. [db.manager]
  75. name = "172.16.33.205:3308"
  76. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_manager?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8"
  77. active = 5
  78. idle = 2
  79. idleTimeout ="4h"
  80. queryTimeout = "100ms"
  81. execTimeout = "100ms"
  82. tranTimeout = "200ms"
  83. [db.manager.breaker]
  84. window = "3s"
  85. sleep = "100ms"
  86. bucket = 10
  87. ratio = 0.5
  88. request = 100
  89. [bvc2VuSub]
  90. key = "0PtMsLLxWyyvoTgAyLCD"
  91. secret = "0PtMsLLxWyyvoTgAyLCE"
  92. group = "Videoup-Bvc2Videoup-S"
  93. topic = "Bvc2Videoup"
  94. action = "sub"
  95. offset = "old"
  96. buffer = 128
  97. name = "videoup-job/bvc-sub"
  98. proto = "tcp"
  99. addr = "172.16.33.158:6205"
  100. active = 1
  101. idle = 1
  102. dialTimeout = "1s"
  103. readTimeout = "60s"
  104. writeTimeout = "1s"
  105. idleTimeout = "10s"
  106. [videoupSub]
  107. key = "0PtMsLLxWyyvoTgAyLCD"
  108. secret = "0PtMsLLxWyyvoTgAyLCE"
  109. group = "Videoup-Videoup2Bvc-S"
  110. topic = "Videoup2Bvc"
  111. action = "sub"
  112. offset = "old"
  113. buffer = 128
  114. name = "videoup-job/videoup-sub"
  115. proto = "tcp"
  116. addr = "172.16.33.158:6205"
  117. active = 1
  118. idle = 1
  119. dialTimeout = "1s"
  120. readTimeout = "60s"
  121. writeTimeout = "1s"
  122. idleTimeout = "10s"
  123. [ArcResultSub]
  124. key = "4c76cbb7a985ac90"
  125. secret = "f36fbb15a85c6e21b0ee22a560ef3a67"
  126. group = "ArchiveNotify-MainArchive-S"
  127. topic = "ArchiveNotify-T"
  128. action = "sub"
  129. name = "videoup-job/videoup-sub"
  130. proto = "tcp"
  131. addr = "172.16.33.158:6205"
  132. idle = 100
  133. active = 100
  134. dialTimeout = "1s"
  135. readTimeout = "60s"
  136. writeTimeout = "1s"
  137. idleTimeout = "10s"
  138. [statSub]
  139. key = "4c76cbb7a985ac90"
  140. secret = "43bb22ce34a6b13e7814f09cb8116522"
  141. group = "StatView-MainArchive-S"
  142. topic = "StatView-T"
  143. action = "sub"
  144. offset = "new"
  145. name = "videoup-job/stat"
  146. proto = "tcp"
  147. addr = "172.18.33.50:6205"
  148. idle = 100
  149. active = 100
  150. dialTimeout = "1s"
  151. readTimeout = "60s"
  152. writeTimeout = "1s"
  153. idleTimeout = "10s"
  154. [videoupPub]
  155. key = "0PtMsLLxWyyvoTgAyLCD"
  156. secret = "0PtMsLLxWyyvoTgAyLCE"
  157. group = "Videoup-Videoup2Bvc-P"
  158. topic = "Videoup2Bvc"
  159. action = "pub"
  160. offset = "old"
  161. buffer = 128
  162. name = "videoup-job/videoup-pub"
  163. proto = "tcp"
  164. addr = "172.16.33.158:6205"
  165. active = 10
  166. idle = 5
  167. dialTimeout = "1s"
  168. readTimeout = "1s"
  169. writeTimeout = "1s"
  170. idleTimeout = "10s"
  171. [blogPub]
  172. key = "4c76cbb7a985ac90"
  173. secret = "f36fbb15a85c6e21b0ee22a560ef3a67"
  174. group = "CommTemplate-MainArchive-P"
  175. topic = "CommTemplate-T"
  176. action = "pub"
  177. offset = "old"
  178. buffer = 128
  179. name = "videoup-job/blog-pub"
  180. proto = "tcp"
  181. addr = "172.16.33.158:6205"
  182. active = 10
  183. idle = 5
  184. dialTimeout = "1s"
  185. readTimeout = "1s"
  186. writeTimeout = "1s"
  187. idleTimeout = "10s"
  188. [redis]
  189. name = "videoup-job/track"
  190. proto = "tcp"
  191. addr = "172.16.33.54:6381"
  192. active = 10
  193. idle = 2
  194. dialTimeout = "1s"
  195. readTimeout = "1s"
  196. writeTimeout = "1s"
  197. idleTimeout = "80s"