account-recovery-job.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [databus]
  2. [databus.compareDatabus]
  3. key = "4ba46ba31f9a44ef"
  4. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  5. group = "AccountRecovery-MainAccount-S"
  6. topic = "AccountRecovery-T"
  7. action = "sub"
  8. offset = "new"
  9. buffer = 2048
  10. name = "account-recovery-job/databus"
  11. proto = "tcp"
  12. addr = "172.16.33.50:6205"
  13. idle = 1
  14. active = 1
  15. dialTimeout = "1s"
  16. readTimeout = "60s"
  17. writeTimeout = "1s"
  18. idleTimeout = "10s"
  19. [databus.compareDatabus.discovery]
  20. domain = "api.bilibili.co"
  21. key = "7634436ea852e3f4"
  22. secret = "test"
  23. [databus.sendMailDatabus]
  24. key = "4ba46ba31f9a44ef"
  25. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  26. group = "AccountRecovery-MainAccount-SendMail-S"
  27. topic = "AccountRecovery-T"
  28. action = "sub"
  29. offset = "new"
  30. buffer = 2048
  31. name = "account-recovery-job/databus"
  32. proto = "tcp"
  33. addr = "172.16.33.50:6205"
  34. idle = 1
  35. active = 1
  36. dialTimeout = "1s"
  37. readTimeout = "60s"
  38. writeTimeout = "1s"
  39. idleTimeout = "10s"
  40. [databus.sendMailDatabus.discovery]
  41. domain = "api.bilibili.co"
  42. key = "7634436ea852e3f4"
  43. secret = "test"
  44. [HttpClientConfig]
  45. key = "7d9f6f6fe2a898e8"
  46. secret = "4de2ccdbd9db69be0c2c6437bfe6eb69"
  47. dial = "100ms"
  48. timeout = "350ms"
  49. keepAlive = "60s"
  50. timer = 1024
  51. [HttpClientConfig.breaker]
  52. window = "3s"
  53. sleep = "100ms"
  54. bucket = 10
  55. ratio = 1.0
  56. request = 100
  57. [AccRecover]
  58. CompareURL = "http://api.bilibili.co/x/internal/account-recovery/compare"
  59. SendMailURL = "http://api.bilibili.co/x/internal/account-recovery/sendMail"