|
@@ -6,9 +6,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://200.200.19.126:3306/cbwqpf?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://212.129.138.23:3306/cbwqpf?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: root
|
|
|
|
|
|
+ password: YbNL5_h]6a4kk
|
|
# 从库数据源(嗅探)
|
|
# 从库数据源(嗅探)
|
|
slaveais:
|
|
slaveais:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
@@ -20,16 +20,16 @@ spring:
|
|
slaveso2:
|
|
slaveso2:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
enabled: true
|
|
enabled: true
|
|
- url: jdbc:mysql://200.200.19.126:3306/so2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://212.129.138.23:3306/so2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: root
|
|
|
|
|
|
+ password: YbNL5_h]6a4kk
|
|
# 从库数据源(黑烟)
|
|
# 从库数据源(黑烟)
|
|
slaveblack:
|
|
slaveblack:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|
|
enabled: true
|
|
enabled: true
|
|
- url: jdbc:mysql://200.200.19.126:3306/heiyan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://212.129.138.23:3306/heiyan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: root
|
|
|
|
|
|
+ password: YbNL5_h]6a4kk
|
|
# 初始连接数
|
|
# 初始连接数
|
|
initialSize: 5
|
|
initialSize: 5
|
|
# 最小连接池数量
|
|
# 最小连接池数量
|
|
@@ -77,9 +77,9 @@ spring:
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
port: 6379
|
|
port: 6379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
- database: 0
|
|
|
|
|
|
+ database: 10
|
|
# 密码
|
|
# 密码
|
|
- password:
|
|
|
|
|
|
+ password: xintong
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 10s
|
|
timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
@@ -94,7 +94,7 @@ spring:
|
|
max-wait: -1ms
|
|
max-wait: -1ms
|
|
elasticsearch:
|
|
elasticsearch:
|
|
port: 9200
|
|
port: 9200
|
|
- ip: 200.200.19.122
|
|
|
|
|
|
+ ip: 212.129.138.23
|
|
type: http #访问方式
|
|
type: http #访问方式
|
|
numberOfReplicas: 2 #副本数
|
|
numberOfReplicas: 2 #副本数
|
|
numberOfShards: 5 #分片数
|
|
numberOfShards: 5 #分片数
|
|
@@ -104,12 +104,15 @@ elasticsearch:
|
|
|
|
|
|
canal:
|
|
canal:
|
|
configs:
|
|
configs:
|
|
- - hostname: 127.0.0.1
|
|
|
|
|
|
+ - hostname: 212.129.138.23
|
|
port: 11111
|
|
port: 11111
|
|
destination: heiyan
|
|
destination: heiyan
|
|
- - hostname: 127.0.0.1
|
|
|
|
|
|
+ - hostname: 212.129.138.23
|
|
port: 11111
|
|
port: 11111
|
|
destination: so2
|
|
destination: so2
|
|
|
|
+ - hostname: 212.129.138.23
|
|
|
|
+ port: 11111
|
|
|
|
+ destination: ais
|
|
|
|
|
|
# Swagger配置
|
|
# Swagger配置
|
|
swagger:
|
|
swagger:
|