spring: cloud: nacos: discovery: # 服务注册地址 server-addr: 10.10.10.230:8848 # 命名空间 namespace: slope-manage-service # 共享配置 group: slope-manage-service config: # 配置中心地址 server-addr: 10.10.10.230:8848 # 配置文件格式 file-extension: yaml # 命名空间 namespace: slope-manage-service # 共享配置 group: slope-manage-service #可以读多个配置文件 需要在同一个命名空间下面可以是不同的组 extension-configs: - dataId: slope-common.yml group: slope-manage-service refresh: true #mqtt mqtt: send: #完成超时时间 completionTimeout: 3000 #通过mqtt发送消息验证所需用户名 username: admin port: 1883 #通过mqtt发送消息验证所需密码 password: public.. #连接的mqtt地址 url: tcp://10.10.10.108 #客户端id clientId: mqttx_45thc5c1ec #推送主题 后面跟着#是监控下面所有的话题 topic: system/iot/device_data_slope/# #topic: my-test # 会话心跳时间 keepAliveInterval: 20 # 设置连接超时时间 connectionTimeout: 3000 timeout: 10 keepalive: 20 # 要消费的topic配置 receive: topic: slopePush/slopePull/test/out,test,slope,sharjeck/ai/test/out,system/iot/original_data_slope,system/iot/device_data_slope isConsume: true OkHttpClit: url: http://10.10.10.220:9501 sms: url: http://10.10.10.223:8830/msg_api/push scheduled: template: enable: true device: enable: false #oss上传 aliyun: oss: endpoint: oss-cn-chengdu.aliyuncs.com accessKeyId: LTAI5tPEbubCGq5Rdwygbz4Q secret: 7mQLWMaBJeZPRV1SRGogctYGXwppjQ bucket: kaiwu-saas