bootstrap-dev.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. scheduled:
  55. template:
  56. enable: true
  57. device:
  58. enable: true
  59. #oss上传
  60. aliyun:
  61. oss:
  62. endpoint: oss-cn-chengdu.aliyuncs.com
  63. accessKeyId: LTAI5tPEbubCGq5Rdwygbz4Q
  64. secret: 7mQLWMaBJeZPRV1SRGogctYGXwppjQ
  65. bucket: kaiwu-saas