bootstrap-dev.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. spring:
  2. cloud:
  3. nacos:
  4. discovery:
  5. # 服务注册地址
  6. server-addr: 10.10.10.230:8848
  7. # 命名空间
  8. namespace: slope-manage-service
  9. # 共享配置
  10. group: slope-manage-service
  11. config:
  12. # 配置中心地址
  13. server-addr: 10.10.10.230:8848
  14. # 配置文件格式
  15. file-extension: yaml
  16. # 命名空间
  17. namespace: slope-manage-service
  18. # 共享配置
  19. group: slope-manage-service
  20. #可以读多个配置文件 需要在同一个命名空间下面可以是不同的组
  21. extension-configs:
  22. - dataId: slope-common.yml
  23. group: slope-manage-service
  24. refresh: true
  25. #mqtt
  26. mqtt:
  27. send:
  28. #完成超时时间
  29. completionTimeout: 3000
  30. #通过mqtt发送消息验证所需用户名
  31. username: admin
  32. port: 1883
  33. #通过mqtt发送消息验证所需密码
  34. password: public..
  35. #连接的mqtt地址
  36. url: tcp://10.10.10.108
  37. #客户端id
  38. clientId: mqttx_45thc5c1ec
  39. #推送主题 后面跟着#是监控下面所有的话题
  40. topic: system/iot/device_data_slope/#
  41. #topic: my-test
  42. # 会话心跳时间
  43. keepAliveInterval: 20
  44. # 设置连接超时时间
  45. connectionTimeout: 3000
  46. timeout: 10
  47. keepalive: 20
  48. # 要消费的topic配置
  49. receive:
  50. topic: slopePush/slopePull/test/out,test,slope,sharjeck/ai/test/out,system/iot/original_data_slope,system/iot/device_data_slope
  51. isConsume: true
  52. OkHttpClit:
  53. url: http://10.10.10.220:9501
  54. sms:
  55. url: http://10.10.10.223:8830/msg_api/push
  56. scheduled:
  57. template:
  58. enable: true
  59. device:
  60. enable: false
  61. #oss上传
  62. aliyun:
  63. oss:
  64. endpoint: oss-cn-chengdu.aliyuncs.com
  65. accessKeyId: LTAI5tPEbubCGq5Rdwygbz4Q
  66. secret: 7mQLWMaBJeZPRV1SRGogctYGXwppjQ
  67. bucket: kaiwu-saas