You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
940 B
YAML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#Tomcat端口
server:
port: 9605
# broker监听端口
mqtt:
server:
port: 1883 # MQTT端口默认1883
web-port: 8083 # http、websocket 端口默认8083
#broker相关配置
broker:
#客户端ClientId白名单不进行接入校验,多个ClientId用逗号隔开
whitelist: hw-data-process-1
#设备接入状态推送
connectStatus:
enable: true #是否启用设备连接状态推送
topic: /device/status/v1 #设备连接状态推送主题
# Spring
spring:
application:
# 应用名称
name: hw-mqtt-broker
profiles:
# 环境配置
active: prod
cloud:
nacos:
config:
# 配置中心地址
server-addr: 124.70.63.37:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}