19 lines
730 B
YAML
19 lines
730 B
YAML
spring:
|
|||
|
|
datasource:
|
||
|
|
driver-class-name: com.mysql.jdbc.Driver
|
||
|
|
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
|
||
|
|
driver-class-name: com.mysql.jdbc.Driver
|
||
|
|
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}
|
||
|
|
password: ${zlt.datasource.password}
|