| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #emqx:
- # # 服务器配置
- # server:
- # urls: tcp://localhost:1883
- # username: ${EMQX_USERNAME:}
- # password: ${EMQX_PASSWORD:}
- # client-id: ${spring.application.name:emqx-client}-${random.uuid}
- # clean-session: true
- # connection-timeout: 30
- # keep-alive-interval: 60
- # max-reconnect-delay: 1000
- # automatic-reconnect: true
- # max-inflight: 1000
- # completion-timeout: 3000
- # executor-service-size: 10
- # ssl:
- # enabled: false
- # protocol: TLS
- # ca-cert: classpath:ca.crt
- # client-cert: classpath:client.crt
- # client-key: classpath:client.key
- # password: ${EMQX_SSL_PASSWORD:}
- #
- # # 发布者配置
- # publisher:
- # default-qos: 1
- # default-retained: false
- # async: true
- # buffer-size: 1000
- # batch-size: 100
- # batch-interval: 1000
- #
- # # 订阅者配置
- # subscriber:
- # default-qos: 1
- # shared-subscription: false
- # shared-group: ${spring.application.name:emqx-client}
- # message-handler:
- # timeout: 5000
- # retry-times: 3
- # retry-interval: 1000
- #
- # # 监控配置
- # management:
- # metrics:
- # enabled: true
- # prefix: emqx
- # endpoints:
- # web:
- # exposure:
- # include: health,metrics,info
|