kuiper.yaml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. # true|false, when true, will check the RSA jwt token for rest api
  21. authentication: false
  22. # restTls:
  23. # certfile: /var/https-server.crt
  24. # keyfile: /var/https-server.key
  25. # Prometheus settings
  26. prometheus: false
  27. prometheusPort: 20499
  28. # The URL where hosts all of pre-build plugins. By default it's at packages.emqx.net
  29. pluginHosts: https://packages.emqx.net
  30. # Whether to ignore case in SQL processing. Note that, the name of customized function by plugins are case-sensitive.
  31. ignoreCase: true
  32. # The default options for all rules. Each rule can override this setting by defining its own option
  33. rule:
  34. # The qos of the rule. The values can be 0: At most once; 1: At least once; 2: Exactly once
  35. # If qos is bigger than 0, the checkpoint mechanism will launch to save states so that they can be
  36. # restored for unintended interrupt or planned restart of the rule. The performance may be affected
  37. # to enable the checkpoint mechanism
  38. qos: 0
  39. # The interval in millisecond to run the checkpoint mechanism.
  40. checkpointInterval: 300000
  41. # Whether to send errors to sinks
  42. sendError: true
  43. sink:
  44. # Control to enable cache or not. If it's set to true, then the cache will be enabled, otherwise, it will be disabled.
  45. enableCache: false
  46. # The maximum number of messages to be cached in memory.
  47. memoryCacheThreshold: 1024
  48. # The maximum number of messages to be cached in the disk.
  49. maxDiskCache: 1024000
  50. # The number of messages for a buffer page which is the unit to read/write to disk in batch to prevent frequent IO
  51. bufferPageSize: 256
  52. # The interval in millisecond to resend the cached messages
  53. resendInterval: 0
  54. # Whether to clean the cache when the rule stops
  55. cleanCacheAtStop: false
  56. source:
  57. ## Configurations for the global http data server for httppush source
  58. # HTTP data service ip
  59. httpServerIp: 0.0.0.0
  60. # HTTP data service port
  61. httpServerPort: 10081
  62. # httpServerTls:
  63. # certfile: /var/https-server.crt
  64. # keyfile: /var/https-server.key
  65. store:
  66. #Type of store that will be used for keeping state of the application
  67. type: sqlite
  68. redis:
  69. host: localhost
  70. port: 6379
  71. password: kuiper
  72. #Timeout in ms
  73. timeout: 1000
  74. sqlite:
  75. #Sqlite file name, if left empty name of db will be sqliteKV.db
  76. name:
  77. # The settings for portable plugin
  78. portable:
  79. # The executable of python. Specify this if you have multiple python instances in your system
  80. # or other circumstance where the python executable cannot be successfully invoked through the default command.
  81. pythonBin: python