1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- spring:
- cloud:
- nacos:
- discovery:
- server-addr: 8.130.28.21:8848
- group: DEFAULT_GROUP
- namespace: local
- config:
- server-addr: 8.130.28.21:8848
- group: DEFAULT_GROUP
- namespace: local
- file-extension: yaml
- redis:
- host: 8.130.28.21
- port: 6379
- password: 7OPziJU!aMek
- database: 5
- timeout: 10s
- lettuce:
- pool:
- min-idle: 0 # 连接池中的最小空闲连接
- max-idle: 8 # 连接池中的最大空闲连接
- max-active: 8 # 连接池的最大数据库连接数
- max-wait: -1ms # #连接池最大阻塞等待时间(使用负值表示没有限制)
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://8.130.28.21:3306/lnxx_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
- username: root
- password: Hfln@1024
- druid:
- initial-size: 5
- min-idle: 10
- max-active: 20
- web-stat-filter:
- exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
- stat-view-servlet:
- login-username: druid
- login-password: druid
- lnxx:
- knife4j:
- doc:
- basePackage: com.hfln.device.application.controller
- title: DEVICE-SERVICE-SERVER
- description: 设备服务
- mqtt:
- broker: tcp://8.130.28.21:1883
- client:
- id: hfln-device-service-${random.uuid}
- username: admin
- password: public
- # 设备配置
- device:
- keepalive:
- timeout: 90000 # 设备保活超时时间,单位毫秒
- alarm:
- ack:
- timeout: 300000 # 设备告警确认超时时间,单位毫秒
- retention:
- time: 60 # 滞留时间阈值,单位秒
- keep-time: 30 # 滞留持续时间,单位秒
- alarm-time: 180 # 滞留告警时间,单位秒
|