click-job-test.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. version = "1.0.0"
  2. user = "nobody"
  3. pid = "/tmp/click-job.pid"
  4. dir = "./"
  5. perf = "127.0.0.1:6440"
  6. trace = false
  7. debug = false
  8. env = "uat"
  9. chanNum = 50
  10. hashNum = 500000
  11. consumeNum = 10
  12. needInit = false
  13. lastChangeTime = 75
  14. releaseTime = 600
  15. [cacheConf]
  16. ArcUpCacheTime = 600
  17. PGCReplayTime = 1800
  18. newAnonymousCacheTime = 60
  19. NewAnonymousBvCacheTime = 300
  20. [xlog]
  21. dir = "/data/log/click-job/"
  22. [infoc2]
  23. taskID = "000025"
  24. proto = "tcp"
  25. addr = "172.16.113.149:15140"
  26. chanSize = 10240
  27. [multiHTTP]
  28. [multiHTTP.inner]
  29. addrs = ["0.0.0.0:6441"]
  30. [multiHTTP.local]
  31. addrs = ["0.0.0.0:6442"]
  32. [db]
  33. addr = "172.22.34.101:3306"
  34. dsn = "test:test@tcp(172.16.33.205:3308)/archive_click?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8"
  35. active = 100
  36. idle = 50
  37. idleTimeout ="4h"
  38. queryTimeout = "300ms"
  39. execTimeout = "300ms"
  40. tranTimeout = "500ms"
  41. [db.breaker]
  42. window = "3s"
  43. sleep = "100ms"
  44. bucket = 10
  45. ratio = 0.5
  46. request = 100
  47. [redis]
  48. name = "click-job/redis"
  49. proto = "unix"
  50. addr = "/tmp/uat-archive-service-redis.sock"
  51. active = 10
  52. idle = 1
  53. dialTimeout = "1s"
  54. readTimeout = "2s"
  55. writeTimeout = "2s"
  56. idleTimeout = "80s"
  57. [statPub]
  58. key = "0QNB0ZgFozbKUCQhbTq8"
  59. secret = "0QNB0ZgFozbKUCQhbTq9"
  60. group = "Stat-UGC-P"
  61. topic = "Stat-T"
  62. action = "pub"
  63. name = "stat-pub/stat-pub"
  64. proto = "tcp"
  65. addr = "172.18.33.50:6205"
  66. active = 5
  67. idle = 1
  68. dialTimeout = "1s"
  69. readTimeout = "1s"
  70. writeTimeout = "1s"
  71. idleTimeout = "10s"
  72. [StatViewPub]
  73. key = "8e27ab7e39270b59"
  74. secret = "477df6a068d7332a163f95abbad2079c"
  75. group = "StatView-MainAppSvr-P"
  76. topic = "StatView-T"
  77. action = "pub"
  78. name = "stat-pub/stat-pub"
  79. proto = "tcp"
  80. addr = "172.18.33.50:6205"
  81. active = 5
  82. idle = 1
  83. dialTimeout = "1s"
  84. readTimeout = "1s"
  85. writeTimeout = "1s"
  86. idleTimeout = "10s"
  87. [ReportDatabus]
  88. key = "8e27ab7e39270b59"
  89. secret = "477df6a068d7332a163f95abbad2079c"
  90. group = "ArchiveClick-MainArchive-S"
  91. topic = "ArchiveClick-T"
  92. action = "sub"
  93. name = "report-click/sub"
  94. proto = "tcp"
  95. addr = "172.18.33.50:6205"
  96. active = 5
  97. idle = 1
  98. dialTimeout = "1s"
  99. readTimeout = "1s"
  100. writeTimeout = "1s"
  101. idleTimeout = "10s"
  102. [HTTPClient]
  103. key = "e7482d29be4a95b8"
  104. secret = "9e803791cdef756e75faee68e12b7442"
  105. dial = "50ms"
  106. timeout = "200ms"
  107. keepAlive = "60s"
  108. [HTTPClient.breaker]
  109. window = "1s"
  110. sleep = "100ms"
  111. bucket = 10
  112. ratio = 0.5
  113. request = 100
  114. [archiveRPC]
  115. group = "uat"
  116. pullInterval = "10s"
  117. [archiveRPC.client]
  118. token = "lY0h6KmXH7u9ftRIuhQTkOYqUg10gwHG"
  119. timeout = "1s"
  120. [archiveRPC.client.breaker]
  121. window ="3s"
  122. sleep ="100ms"
  123. bucket = 10
  124. ratio = 0.5
  125. request = 100
  126. [archiveRPC.zookeeper]
  127. root = "/microservice/archive-service/"
  128. addrs = ["172.18.33.50:2199","172.18.33.51:2199","172.18.33.52:2199"]
  129. timeout = "30s"