passport-encrypt-job.toml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "noboby"
  4. dir = "./"
  5. family = "passport-encrypt"
  6. env = "qa"
  7. [xlog]
  8. dir = "/data/log/passport-encrypt"
  9. [tracer]
  10. family = "passport-encrypt"
  11. proto = "unixgram"
  12. addr = "/var/run/dapper-collect/dapper-collect.sock"
  13. [stepgroup]
  14. [stepgroup.group1]
  15. start = 0
  16. end = 400000
  17. inc = 200000
  18. limit = 300000000
  19. [stepgroup.group2]
  20. start = 0
  21. end = 400000
  22. inc = 200000
  23. limit = 300000000
  24. [stepgroup.group3]
  25. start = 0
  26. end = 400000
  27. inc = 200000
  28. limit = 300000000
  29. [stepgroup.group4]
  30. start = 0
  31. end = 400000
  32. inc = 200000
  33. limit = 300000000
  34. [dataSwitch]
  35. full = true
  36. inc = false
  37. [bm]
  38. [bm.inner]
  39. addr = "0.0.0.0:6981"
  40. timeout = "1s"
  41. [bm.local]
  42. addr = "0.0.0.0:6982"
  43. timeout = "1s"
  44. [db]
  45. [db.originDB]
  46. addr = "172.16.33.205:3306"
  47. dsn = "aso:hA0DAnENNFz78kYB@tcp(172.16.33.205:3306)/aso?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  48. active = 5
  49. idle = 2
  50. queryTimeout = "1s"
  51. execTimeout = "2s"
  52. tranTimeout = "2s"
  53. [db.originDB.breaker]
  54. window = "3s"
  55. sleep = "100ms"
  56. bucket = 10
  57. ratio = 0.5
  58. request = 100
  59. [db.encryptDB]
  60. addr = "127.0.0.1:3306"
  61. dsn = "root:123456789@tcp(127.0.0.1:3306)/test?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  62. active = 5
  63. idle = 2
  64. queryTimeout = "1s"
  65. execTimeout = "2s"
  66. tranTimeout = "2s"
  67. [db.encryptDB.breaker]
  68. window = "3s"
  69. sleep = "100ms"
  70. bucket = 10
  71. ratio = 0.5
  72. request = 100
  73. [group]
  74. [group.asoBinLog]
  75. size = 200
  76. num = 32
  77. ticker = "1s"
  78. chan = 1024
  79. [databus]
  80. [databus.asoBinLogSub]
  81. key = "4ba46ba31f9a44ef"
  82. secret = "99985eb4451cfb1b899ca0fbe3c4bdc8"
  83. group = "PassportAccount-MainAccount-S"
  84. topic = "PassportAccount-T"
  85. action = "sub"
  86. offset = "old"
  87. buffer = 2048
  88. name = "passport-encrypt/databus"
  89. proto = "tcp"
  90. addr = "172.16.33.158:6205"
  91. idle = 1
  92. active = 1
  93. dialTimeout = "1s"
  94. readTimeout = "60s"
  95. writeTimeout = "1s"
  96. idleTimeout = "10s"