application.yml
881 字节
spring:
rabbitmq:
host: 121.37.17.48
port: 5666
virtual-host: canal
username: canal_read
password: uC4235OY@4
publisher-confirm-type: correlated # 开启发送确认
publisher-returns: true # 开启发送失败退回
listener: # 开启ack消费确认
direct:
acknowledge-mode: manual
simple:
acknowledge-mode: manual
datasource:
fba-stock:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://10.1.1.86:3306/fba_stock?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true
username: xmdo
password: xmdao123#li
max-idle: 20
min-idle: 20
initial-size: 20
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: false
test-while-idle: true
time-between-eviction-runs-millis: 18800