kuiper.yaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. # The default options for all rules. Each rule can override this setting by defining its own option
  19. rule:
  20. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  21. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  22. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  23. # to enable the checkpoint mechanism
  24. qos: 0
  25. # The interval in millisecond to run the checkpoint mechanism.
  26. checkpointInterval: 300000
  27. sink:
  28. # The cache persistence threshold size. If the message in sink cache is larger than 10, then it triggers persistence. If you find
  29. # the remote system is slow to response, or sink throughput is small, then it's recommend to increase below 2 configurations.
  30. # More memory is required with the increase of below 2 configurations.
  31. # If the message count reaches below value, then it triggers persistence.
  32. cacheThreshold: 10
  33. # The message persistence is triggered by a ticker, and cacheTriggerCount is for using configure the count to trigger the persistence procedure
  34. # 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.
  35. cacheTriggerCount: 15
  36. # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
  37. disableCache: false