2019-03-15 10:30:51 +08:00
|
|
|
spring:
|
|
|
|
|
datasource:
|
2019-10-04 21:45:37 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2019-03-15 10:30:51 +08:00
|
|
|
url: jdbc:mysql://${zlt.datasource.ip}:3306/txlcn-demo?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
|
|
|
username: ${zlt.datasource.username}
|
|
|
|
|
password: ${zlt.datasource.password}
|
|
|
|
|
|
|
|
|
|
## tx-manager 配置
|
|
|
|
|
tx-lcn:
|
|
|
|
|
ribbon:
|
|
|
|
|
loadbalancer:
|
|
|
|
|
dtx:
|
|
|
|
|
enabled: true
|
|
|
|
|
logger:
|
|
|
|
|
enabled: true
|
2019-10-04 21:45:37 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2019-03-15 10:30:51 +08:00
|
|
|
jdbc-url: jdbc:mysql://${zlt.datasource.ip}:3306/tx_logger?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
|
|
|
|
|
username: ${zlt.datasource.username}
|
2022-04-10 15:37:36 +08:00
|
|
|
password: ${zlt.datasource.password}
|
|
|
|
|
zlt:
|
|
|
|
|
loadbalance:
|
|
|
|
|
version: test
|
|
|
|
|
isolation:
|
|
|
|
|
enabled: true
|
|
|
|
|
chooser: com.central.common.lb.chooser.RandomRuleChooser
|