|
@@ -2,18 +2,18 @@
|
|
|
group:
|
|
|
code: WD
|
|
|
# rabbitmq连接信息
|
|
|
-rabbitmq.host: 192.168.100.93
|
|
|
-rabbitmq.port: 9936
|
|
|
-rabbitmq.username: pbsage
|
|
|
-rabbitmq.password: pbsage123
|
|
|
-rabbitmq.virtual-host: /test
|
|
|
+alarmengine.rabbitmq.host: 192.168.100.93
|
|
|
+alarmengine.rabbitmq.port: 9936
|
|
|
+alarmengine.rabbitmq.username: pbsage
|
|
|
+alarmengine.rabbitmq.password: pbsage123
|
|
|
+alarmengine.rabbitmq.virtual-host: /test
|
|
|
# redis连接信息
|
|
|
-redis.host: 192.168.100.93
|
|
|
-redis.port: 9944
|
|
|
-redis.database: 14
|
|
|
-redis.password.sentinel: test123
|
|
|
-redis.password.standalone: test123
|
|
|
-redis.sentinel.nodes: 39.102.43.179:9940
|
|
|
+alarmengine.redis.host: 192.168.100.93
|
|
|
+alarmengine.redis.port: 9944
|
|
|
+alarmengine.redis.database: 14
|
|
|
+alarmengine.redis.password.sentinel: test123
|
|
|
+alarmengine.redis.password.standalone: test123
|
|
|
+alarmengine.redis.sentinel.nodes: 39.102.43.179:9940
|
|
|
# 数据库连接信息
|
|
|
datasource.url: jdbc:mysql://192.168.100.94:9934/alarm-quartz?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false
|
|
|
datasource.username: root
|
|
@@ -58,29 +58,29 @@ spring:
|
|
|
hibernate:
|
|
|
ddl-auto: none
|
|
|
redis:
|
|
|
- host: ${redis.host}
|
|
|
- port: ${redis.port}
|
|
|
- database: ${redis.database}
|
|
|
+ host: ${alarmengine.redis.host}
|
|
|
+ port: ${alarmengine.redis.port}
|
|
|
+ database: ${alarmengine.redis.database}
|
|
|
pool:
|
|
|
max-active: 300
|
|
|
max-wait: 3000
|
|
|
min-idle: 100
|
|
|
max-idle: 300
|
|
|
- password.sentinel: ${redis.password.sentinel}
|
|
|
- password.standalone: ${redis.password.standalone}
|
|
|
+ password.sentinel: ${alarmengine.redis.password.sentinel}
|
|
|
+ password.standalone: ${alarmengine.redis.password.standalone}
|
|
|
sentinel.master: mymaster
|
|
|
- sentinel.nodes: ${redis.sentinel.nodes}
|
|
|
+ sentinel.nodes: ${alarmengine.redis.sentinel.nodes}
|
|
|
use.cluster: false
|
|
|
rabbitmq:
|
|
|
- host: ${rabbitmq.host}
|
|
|
- port: ${rabbitmq.port}
|
|
|
- username: ${rabbitmq.username}
|
|
|
- password: ${rabbitmq.password}
|
|
|
- virtual-host: ${rabbitmq.virtual-host}
|
|
|
+ host: ${alarmengine.rabbitmq.host}
|
|
|
+ port: ${alarmengine.rabbitmq.port}
|
|
|
+ username: ${alarmengine.rabbitmq.username}
|
|
|
+ password: ${alarmengine.rabbitmq.password}
|
|
|
+ virtual-host: ${alarmengine.rabbitmq.virtual-host}
|
|
|
connection-timeout: 2000ms
|
|
|
listener:
|
|
|
simple:
|
|
|
- acknowledge-mode: manual
|
|
|
+ acknowledge-mode: manualz
|
|
|
concurrency: 5
|
|
|
max-concurrency: 10
|
|
|
default-requeue-rejected: false
|