|
|
@@ -90,23 +90,23 @@ sa-token:
|
|
|
# automatic-reconnect: true
|
|
|
# clean-session: false # 持久会话建议设置为 false
|
|
|
# keep-alive-interval: 60 # 保持心跳间隔(秒)
|
|
|
-emqx:
|
|
|
- enabled: true
|
|
|
- server-uris:
|
|
|
- - tcp://8.130.28.21:1883
|
|
|
- client-id: ${random.uuid}
|
|
|
+mqtt:
|
|
|
+ broker: tcp://8.130.28.21:1883
|
|
|
+ client-id: ${spring.application.name}
|
|
|
username: admin
|
|
|
password: public
|
|
|
- connection-timeout: 30
|
|
|
- keep-alive-interval: 60
|
|
|
- automatic-reconnect: true
|
|
|
- max-reconnect-delay: 10000
|
|
|
+ timeout: 30
|
|
|
+ keepalive: 60
|
|
|
clean-session: true
|
|
|
- max-inflight: 100
|
|
|
- monitor:
|
|
|
- enabled: true
|
|
|
- interval: 30
|
|
|
- max-reconnect-attempts: 10
|
|
|
- reconnect-cooldown: 60
|
|
|
- message:
|
|
|
- process-timeout: 30
|
|
|
+ automatic-reconnect: true
|
|
|
+
|
|
|
+# oss 存储
|
|
|
+oss:
|
|
|
+ accessKey:
|
|
|
+ id: LTAI5t9ZjmmHVs7nseZx3xWT
|
|
|
+ secret: TbmTSDP9ztXrLa4gXBhAmjerQcKGj7
|
|
|
+ endpoint: oss-cn-shanghai.aliyuncs.com
|
|
|
+ bucket: lnxx.oss-cn-shanghai.aliyuncs.com
|
|
|
+ region: cn-shanghai
|
|
|
+ expire:
|
|
|
+ seconds: 300
|