databus-test.toml 700 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # This is a TOML document. Boom.
  2. version = "3.0.0"
  3. user = "nobody"
  4. dir = "./"
  5. perf = "0.0.0.0:6204"
  6. addr = "0.0.0.0:6205"
  7. [clusters]
  8. [clusters.test_kafka_9092-266]
  9. cluster = "test_kafka_9092-266"
  10. brokers = ["127.0.0.1:9092"]
  11. sync = false
  12. [log]
  13. dir = "/data/log/databus"
  14. [httpServer]
  15. addr = "0.0.0.0:6206"
  16. timeout = "1s"
  17. [mysql]
  18. addr = "172.16.33.54:3306"
  19. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_databus_v2?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  20. active = 2
  21. idle = 1
  22. idleTimeout ="4h"
  23. queryTimeout = "150ms"
  24. execTimeout = "100ms"
  25. tranTimeout = "200ms"
  26. [mysql.breaker]
  27. window = "3s"
  28. sleep = "100ms"
  29. bucket = 10
  30. ratio = 0.5
  31. request = 100