|
@@ -1,39 +1,44 @@
|
|
|
server:
|
|
|
port: 8888
|
|
|
+ servlet:
|
|
|
+ context-path: /station-op-server
|
|
|
|
|
|
zookeeper:
|
|
|
- server: 172.16.121.248:2181
|
|
|
+ server: zookeeper:2181
|
|
|
|
|
|
spring:
|
|
|
- datasource:
|
|
|
- type: com.zaxxer.hikari.HikariDataSource
|
|
|
- hikari:
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- jdbc-url: jdbc:mysql://rm-bp10j10qy42bzy0q7.mysql.rds.aliyuncs.com:3306/station_control_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
|
- username: zk_station
|
|
|
- password: Zk123456$#
|
|
|
- maximum-pool-size: 50 # 连接池中允许的最大连接数量
|
|
|
- minimum-idle: 5 # 连接池中保持的最小空闲连接数量
|
|
|
- auto-commit: true # 连接是否自动提交
|
|
|
- idle-timeout: 600000
|
|
|
+# datasource:
|
|
|
+# type: com.zaxxer.hikari.HikariDataSource
|
|
|
+# hikari:
|
|
|
+# driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+# jdbc-url: jdbc:mysql://rm-bp10j10qy42bzy0q7.mysql.rds.aliyuncs.com:3306/station_control_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
|
+# username: zk_station
|
|
|
+# password: Zk123456$#
|
|
|
+# maximum-pool-size: 50 # 连接池中允许的最大连接数量
|
|
|
+# minimum-idle: 5 # 连接池中保持的最小空闲连接数量
|
|
|
+# auto-commit: true # 连接是否自动提交
|
|
|
+# idle-timeout: 600000
|
|
|
redis:
|
|
|
- host: 172.16.121.248
|
|
|
+ host: r-bp12xxvmg1ssq5d33j.redis.rds.aliyuncs.com
|
|
|
port: 6379
|
|
|
- #password: jek123
|
|
|
+ password: 'Qx$123456'
|
|
|
kafka:
|
|
|
- bootstrap-servers: 172.16.121.248:9092
|
|
|
- producer:
|
|
|
- key-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
- value-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
- acks: 1
|
|
|
- consumer:
|
|
|
- group-id: default-group
|
|
|
- key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
- value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
- max-poll-records: 50
|
|
|
- listener:
|
|
|
- ack-mode: MANUAL_IMMEDIATE
|
|
|
- missing-topics-fatal: false
|
|
|
+ bootstrap-servers:
|
|
|
+ - alikafka-pre-cn-36z3tuo9f003-1-vpc.alikafka.aliyuncs.com:9092
|
|
|
+ - alikafka-pre-cn-36z3tuo9f003-2-vpc.alikafka.aliyuncs.com:9092
|
|
|
+ - alikafka-pre-cn-36z3tuo9f003-3-vpc.alikafka.aliyuncs.com:9092
|
|
|
+ producer:
|
|
|
+ key-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
+ value-serializer: org.apache.kafka.common.serialization.StringSerializer
|
|
|
+ acks: 1
|
|
|
+ consumer:
|
|
|
+ group-id: default-group
|
|
|
+ key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
+ value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
|
|
|
+ max-poll-records: 50
|
|
|
+ listener:
|
|
|
+ ack-mode: MANUAL_IMMEDIATE
|
|
|
+ missing-topics-fatal: false
|
|
|
|
|
|
logging:
|
|
|
level:
|