feed-job-test.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version = "1.0.0"
  2. user = "nobody"
  3. pid = "/tmp/feed-job.pid"
  4. dir = "./"
  5. perf = "0.0.0.0:6411"
  6. trace = false
  7. debug = false
  8. env = "test"
  9. [xlog]
  10. dir = "/data/log/feed-job/"
  11. [bm]
  12. addr = "0.0.0.0:6410"
  13. timeout = "1s"
  14. [feedRPC]
  15. pullInterval = "10s"
  16. [feedRPC.client]
  17. proto = "tcp"
  18. timeout = "1s"
  19. timer = 1000
  20. [[feedRPC.backup]]
  21. proto = "tcp"
  22. addr = "172.16.33.56:6361"
  23. timeout = "1s"
  24. timer = 1000
  25. [feedRPC.zookeeper]
  26. root = "/microservice/feed-service/"
  27. addrs = ["172.16.33.54:2181"]
  28. timeout = "30s"
  29. [archiveSub]
  30. key = "0PtMsVFzWyyvoTgAyLCG"
  31. secret = "0PtMsVFzWyyvoTgAyLCH"
  32. group = "FeedJob-UGC-S"
  33. topic = "Archive-T"
  34. action = "sub"
  35. [archiveSub.redis]
  36. name = "go-common/app/job/main/feed/archivesub"
  37. proto = "tcp"
  38. addr = "172.16.33.56:6205"
  39. idle = 100
  40. active = 100
  41. dialTimeout = "1s"
  42. readTimeout = "60s"
  43. writeTimeout = "1s"
  44. idleTimeout = "10s"
  45. [SMS]
  46. phone = "11111111111,11111111111"
  47. token = "token"
  48. [httpClient]
  49. dial = "100ms"
  50. timeout = "1s"
  51. keepAlive = "60s"
  52. timer = 128