提交增加运维管理
This commit is contained in:
@@ -72,14 +72,15 @@ spring:
|
||||
mqtt:
|
||||
username: xinda # 账号(仅用于后端自认证)
|
||||
password: xinda # 密码(仅用于后端自认证)
|
||||
host-url: tcp://1.14.72.242:1883 # 连接 Emqx 消息服务器地址
|
||||
host-url: tcp://127.0.0.1:1883 # 连接 Emqx 消息服务器地址
|
||||
# host-url: tcp://192.168.1.103:1883 # 内置netty mqtt broker地址
|
||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||
default-topic: test # 默认主题
|
||||
timeout: 30 # 超时时间
|
||||
keepalive: 30 # 保持连接
|
||||
clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息)
|
||||
|
||||
general-username: gkb # 用户名
|
||||
general-password: 888888
|
||||
# redisson 配置
|
||||
redisson:
|
||||
# redis key前缀
|
||||
|
||||
Reference in New Issue
Block a user