kuiper.yaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 URL where hosts all of pre-build plugins. By default it's at packages.emqx.io
  19. # There could be several hosts (host can be separated with comma), if same package could be found in the several hosts,
  20. # then the package in the 1st host will have the highest priority.
  21. pluginHosts: https://www.emqx.io/downloads
  22. # The default options for all rules. Each rule can override this setting by defining its own option
  23. rule:
  24. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  25. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  26. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  27. # to enable the checkpoint mechanism
  28. qos: 0
  29. # The interval in millisecond to run the checkpoint mechanism.
  30. checkpointInterval: 300000
  31. sink:
  32. # The cache persistence threshold size. If the message in sink cache is larger than 10, then it triggers persistence. If you find
  33. # the remote system is slow to response, or sink throughput is small, then it's recommend to increase below 2 configurations.
  34. # More memory is required with the increase of below 2 configurations.
  35. # If the message count reaches below value, then it triggers persistence.
  36. cacheThreshold: 10
  37. # The message persistence is triggered by a ticker, and cacheTriggerCount is for using configure the count to trigger the persistence procedure
  38. # 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.
  39. cacheTriggerCount: 15
  40. # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
  41. disableCache: false