kuiper.yaml 1.2 KB

123456789101112131415161718192021222324252627
  1. basic:
  2. # true|false, with debug level, it prints more debug info
  3. debug: false
  4. # true|false, if it's set to true, then the log will be print to console
  5. consoleLog: false
  6. # true|false, if it's set to true, then the log will be print to log file
  7. fileLog: true
  8. # CLI port
  9. port: 20498
  10. # REST service port
  11. restPort: 9081
  12. # restTls:
  13. # certfile: /var/https-server.crt
  14. # keyfile: /var/https-server.key
  15. # Prometheus settings
  16. prometheus: false
  17. prometheusPort: 20499
  18. sink:
  19. # The cache persistence threshold size. If the message in sink cache is larger than 10, then it triggers persistence. If you find
  20. # the remote system is slow to response, or sink throughput is small, then it's recommend to increase below 2 configurations.
  21. # More memory is required with the increase of below 2 configurations.
  22. # If the message count reaches below value, then it triggers persistence.
  23. cacheThreshold: 10
  24. # The message persistence is triggered by a ticker, and cacheTriggerCount is for using configure the count to trigger the persistence procedure
  25. # regardless if the message number reaches cacheThreshold or not. This is to prevent the data won't be saved as the cache never pass the threshold.
  26. cacheTriggerCount: 15