test.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # This is a TOML document. Boom
  2. [Log]
  3. stdout=true
  4. [MemberBinLog]
  5. key = "4ba46ba31f9a44ef"
  6. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  7. group = "MemberBinlog-MainAccount-AccountSummary-S"
  8. topic = "MemberBinlog-T"
  9. action = "sub"
  10. offset = "old"
  11. buffer = 2048
  12. name = "account-summary/member-binlog"
  13. proto = "tcp"
  14. addr = "172.18.33.50:6205"
  15. idle = 1
  16. active = 1
  17. dialTimeout = "1s"
  18. readTimeout = "60s"
  19. writeTimeout = "1s"
  20. idleTimeout = "10s"
  21. [BlockBinLog]
  22. key = "4ba46ba31f9a44ef"
  23. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  24. group = "BlockUserBinlog-MainAccount-S"
  25. topic = "BlockUserBinlog-T"
  26. action = "sub"
  27. offset = "old"
  28. buffer = 2048
  29. name = "account-summary/member-binlog"
  30. proto = "tcp"
  31. addr = "172.18.33.50:6205"
  32. idle = 1
  33. active = 1
  34. dialTimeout = "1s"
  35. readTimeout = "60s"
  36. writeTimeout = "1s"
  37. idleTimeout = "10s"
  38. [PassportBinLog]
  39. key = "4ba46ba31f9a44ef"
  40. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  41. group = "PassportPurgeCache-MainAccount-AccountSummary-S"
  42. topic = "PassportPurgeCache-T"
  43. action = "sub"
  44. offset = "old"
  45. buffer = 2048
  46. name = "account-summary/member-binlog"
  47. proto = "tcp"
  48. addr = "172.18.33.50:6205"
  49. idle = 1
  50. active = 1
  51. dialTimeout = "1s"
  52. readTimeout = "60s"
  53. writeTimeout = "1s"
  54. idleTimeout = "10s"
  55. [AccountSummaryProducer]
  56. key = "4ba46ba31f9a44ef"
  57. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  58. group = "AccountSummary-MainAccount-P"
  59. topic = "AccountSummary-T"
  60. action = "pub"
  61. offset = "old"
  62. buffer = 2048
  63. name = "account-summary/account-summary-producer"
  64. proto = "tcp"
  65. addr = "172.18.33.50:6205"
  66. idle = 10
  67. active = 10
  68. dialTimeout = "1s"
  69. readTimeout = "60s"
  70. writeTimeout = "1s"
  71. idleTimeout = "10s"
  72. [AccountSummaryHBase]
  73. master = ""
  74. meta = ""
  75. dialTimeout = "1s"
  76. readTimeout = "10s"
  77. readsTimeout = "10s"
  78. writeTimeout = "10s"
  79. writesTimeout = "10s"
  80. [AccountSummaryHBase.zookeeper]
  81. root = ""
  82. addrs = ["172.18.33.131:2181","172.18.33.168:2181","172.18.33.169:2181"]
  83. timeout = "30s"
  84. [MemberDB]
  85. addr = "172.16.33.205"
  86. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_member?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  87. active = 5
  88. idle = 2
  89. IdleTimeout ="4h"
  90. queryTimeout = "100ms"
  91. execTimeout = "100ms"
  92. tranTimeout = "200ms"
  93. [MemberDB.breaker]
  94. window = "3s"
  95. sleep = "100ms"
  96. bucket = 10
  97. ratio = 0.5
  98. request = 100
  99. [HTTPClient]
  100. key = "c1a1cb2d89c33794"
  101. secret = "dda47eeca111e03e6845017505baea13"
  102. dial = "1s"
  103. timeout = "3s"
  104. keepAlive = "60s"
  105. timer = 16
  106. [HTTPClient.breaker]
  107. window = "10s"
  108. sleep = "100ms"
  109. bucket = 10
  110. ratio = 0.5
  111. request = 100
  112. [Host]
  113. Passport="http://uat-passport.bilibili.co"
  114. [AccountSummary]
  115. SubProcessWorker=1
  116. SyncRangeStart=0
  117. SyncRangeEnd=300000000
  118. SyncRangeWorker=4
  119. [FeatureGate]
  120. DisableSubProcess=false
  121. SyncRange=false
  122. Initial=true