| | |
| | | |
| | | # mqtt 配置 |
| | | mqtt: |
| | | username: wumei-smart # 账号 |
| | | password: wumei-smart # 密码 |
| | | host-url: tcp://39.105.187.20:1883 # mqtt连接tcp地址 |
| | | username: admin # 账号 |
| | | password: public # 密码 |
| | | host-url: tcp://localhost:1883 # mqtt连接tcp地址 |
| | | client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value} |
| | | default-topic: test # 默认主题 |
| | | timeout: 30 # 超时时间 |
| | |
| | | max-size: 30 # 最大连接数 |
| | | queue-capacity: 3000 # 最大容量 |
| | | |
| | | |
| | | |
| | | |
| | | # mqtt 配置 |
| | | # mqtt: |
| | | # username: wumei-smart # 账号 |
| | | # password: wumei-smart # 密码 |
| | | # host-url: tcp://39.105.187.20:1883 # mqtt连接tcp地址 |
| | | # client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value} |
| | | # default-topic: test # 默认主题 |
| | | # timeout: 30 # 超时时间 |
| | | # keepalive: 30 # 保持连接 |
| | | # clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息) |
| | | # task: |
| | | # execution: |
| | | # pool: |
| | | # core-size: 10 # 最小连接数 |
| | | # max-size: 30 # 最大连接数 |
| | | # queue-capacity: 3000 # 最大容量 |
| | | |
| | | # token配置 |
| | | token: |
| | | # 令牌自定义标识 |