kuiper.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. # How many hours to split the file
  9. rotateTime: 24
  10. # Maximum file storage hours
  11. maxAge: 72
  12. # CLI ip
  13. ip: 0.0.0.0
  14. # CLI port
  15. port: 20498
  16. # REST service ip
  17. restIp: 0.0.0.0
  18. # REST service port
  19. restPort: 9081
  20. # restTls:
  21. # certfile: /var/https-server.crt
  22. # keyfile: /var/https-server.key
  23. # Prometheus settings
  24. prometheus: false
  25. prometheusPort: 20499
  26. # The URL where hosts all of pre-build plugins. By default it's at packages.emqx.io
  27. # There could be several hosts (host can be separated with comma), if same package could be found in the several hosts,
  28. # then the package in the 1st host will have the highest priority.
  29. pluginHosts: https://packages.emqx.net
  30. # The default options for all rules. Each rule can override this setting by defining its own option
  31. rule:
  32. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  33. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  34. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  35. # to enable the checkpoint mechanism
  36. qos: 0
  37. # The interval in millisecond to run the checkpoint mechanism.
  38. checkpointInterval: 300000
  39. # Whether to send errors to sinks
  40. sendError: true
  41. sink:
  42. # The cache persistence threshold size. If the message in sink cache is larger than 10, then it triggers persistence. If you find
  43. # the remote system is slow to response, or sink throughput is small, then it's recommend to increase below 2 configurations.
  44. # More memory is required with the increase of below 2 configurations.
  45. # If the message count reaches below value, then it triggers persistence.
  46. cacheThreshold: 10
  47. # The message persistence is triggered by a ticker, and cacheTriggerCount is for using configure the count to trigger the persistence procedure
  48. # 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.
  49. cacheTriggerCount: 15
  50. # Control to disable cache or not. If it's set to true, then the cache will be disabled, otherwise, it will be enabled.
  51. disableCache: true