application-test.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. #数据源配置
  2. spring:
  3. redis:
  4. ##redis 单机环境配置
  5. host: 172.31.1.154
  6. port: 6379
  7. password: Dh@82828800
  8. database: 1
  9. ssl: false
  10. ##redis 集群环境配置
  11. #cluster:
  12. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  13. # commandTimeout: 5000
  14. datasource:
  15. # MySql
  16. url: jdbc:mysql://172.31.1.154:3306/tsdb_cloud?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
  17. username: root
  18. password: 1QAZ!2wsx@
  19. # PostgreSQL
  20. #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
  21. #username: postgres
  22. #password: 123456
  23. # Oracle
  24. #url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
  25. #username: BLADEX_BOOT
  26. #password: BLADEX_BOOT
  27. # SqlServer
  28. #url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=bladex_boot
  29. #username: bladex_boot
  30. #password: bladex_boot
  31. # DaMeng
  32. # url: jdbc:dm://172.1.0.215:5236/ZGXXXT?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  33. # username: ZGXXXT
  34. # password: ZGXXXT2022
  35. kafka:
  36. bootstrap-servers: 172.31.1.228:9092
  37. producer:
  38. retries: 0
  39. batch-size: 16384
  40. buffer-memory: 33554432
  41. key-serializer: org.apache.kafka.common.serialization.StringSerializer
  42. value-serializer: org.apache.kafka.common.serialization.StringSerializer
  43. consumer:
  44. group-id: kafka-tsywxt-cloud-dev
  45. # 手动提交
  46. enable-auto-commit: false
  47. auto-offset-reset: latest
  48. key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  49. value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  50. properties:
  51. session.timeout.ms: 60000
  52. allow.auto.create.topics: false
  53. listener:
  54. log-container-config: false
  55. concurrency: 5
  56. # 手动提交
  57. ack-mode: manual_immediate
  58. mq-topic:
  59. ywxt-rtu-status: ywxt-rtu-status
  60. ywxt-warning: ywxt-warning
  61. topic-etl-task-run-info: topic-etl-task-run-info
  62. topic-etl-rain: topic-etl-rain-data
  63. topic-etl-river: topic-etl-river-data
  64. topic-etl-rsvr: topic-etl-rsvr-data
  65. topic-etl-ground: topic-etl-ground-data
  66. topic-etl-promptly-collect: topic-etl-promptly-collect
  67. apk:
  68. url: http://111.204.228.227:20002/app/apk
  69. save-path: /home/tmp
  70. task-config:
  71. etl-task: false
  72. warning-check-task: false
  73. dept-update-task: false
  74. warn-config:
  75. delay-time: 120
  76. export-config:
  77. workdir: /home/export
  78. equipment-info-template: equipment-template.xlsx
  79. inspection-remainingproblems-template: inspection-remainingproblems-template.xlsx
  80. inspection-unfinished-template: inspection-unfinished-template.xlsx
  81. ftp-config:
  82. ip: 172.31.1.199
  83. port: 2221
  84. username: admin
  85. password: admin
  86. workdir: /home/ftp
  87. targetdir: ANALYSIS/CLDAS
  88. rockdb-config:
  89. save-path: /home/tsywxt-cloud/rockdb
  90. warn-config:
  91. missout: 5
  92. hbase:
  93. enable: true
  94. zookeeper:
  95. quorum: 172.9.0.190
  96. property:
  97. clientPort: 2181
  98. znode:
  99. parent: /hbase
  100. #第三方登陆
  101. social:
  102. enabled: false
  103. domain: http://127.0.0.1:1888
  104. #blade配置
  105. blade:
  106. #分布式锁配置
  107. lock:
  108. ##是否启用分布式锁
  109. enabled: false
  110. ##redis服务地址
  111. address: redis://172.9.0.165:6379
  112. password: Dh8282
  113. #本地文件上传
  114. file:
  115. remote-mode: true
  116. upload-domain: http://localhost:8999
  117. remote-path: /usr/share/nginx/html