优化user的配置文件

This commit is contained in:
wulin 2023-12-05 14:23:51 +08:00
parent 5c1b6a5a37
commit d11db62de1

View File

@ -31,6 +31,30 @@ spring:
#url: r2dbc:h2:file:///./data/h2db/jetlinks #url: r2dbc:h2:file:///./data/h2db/jetlinks
username: root username: root
password: 123456 password: 123456
rabbitmq:
host: 192.168.8.146
port: 31043
username: admin
password: 123456
listener:
simple:
# 设置手动ack回复
acknowledge-mode: manual
retry:
# 开启重试机制
enabled: true
# 重试次数
max-attempts: 3
# 重试最大间隔时间
max-interval: 100000
# 重试初始间隔时间
initial-interval: 100
# 间隔时间因子
multiplier: 20
#设置消息发送回调
publisher-returns: true
publisher-confirm-type: simple
virtual-host: /iot
redis: redis:
# cluster: # cluster:
# nodes: # nodes: