application.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #emqx:
  2. # # 服务器配置
  3. # server:
  4. # urls: tcp://localhost:1883
  5. # username: ${EMQX_USERNAME:}
  6. # password: ${EMQX_PASSWORD:}
  7. # client-id: ${spring.application.name:emqx-client}-${random.uuid}
  8. # clean-session: true
  9. # connection-timeout: 30
  10. # keep-alive-interval: 60
  11. # max-reconnect-delay: 1000
  12. # automatic-reconnect: true
  13. # max-inflight: 1000
  14. # completion-timeout: 3000
  15. # executor-service-size: 10
  16. # ssl:
  17. # enabled: false
  18. # protocol: TLS
  19. # ca-cert: classpath:ca.crt
  20. # client-cert: classpath:client.crt
  21. # client-key: classpath:client.key
  22. # password: ${EMQX_SSL_PASSWORD:}
  23. #
  24. # # 发布者配置
  25. # publisher:
  26. # default-qos: 1
  27. # default-retained: false
  28. # async: true
  29. # buffer-size: 1000
  30. # batch-size: 100
  31. # batch-interval: 1000
  32. #
  33. # # 订阅者配置
  34. # subscriber:
  35. # default-qos: 1
  36. # shared-subscription: false
  37. # shared-group: ${spring.application.name:emqx-client}
  38. # message-handler:
  39. # timeout: 5000
  40. # retry-times: 3
  41. # retry-interval: 1000
  42. #
  43. # # 监控配置
  44. # management:
  45. # metrics:
  46. # enabled: true
  47. # prefix: emqx
  48. # endpoints:
  49. # web:
  50. # exposure:
  51. # include: health,metrics,info