myapps: storage: root: /data/obpm-demo siteid: refresh: cache: profile: test-ws server: port: 8094 servlet: context-path: ${myapps.siteid}/obpm session: timeout: 3600 spring: datasource: url: jdbc:mysql://49.4.21.141:45611/obpm2?characterEncoding=UTF-8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=CONVERT_TO_NULL username: bcx password: Wstestv5qy#2022 # 下面为连接池的补充设置,应用到上面所有数据源中 initialSize: 5 minIdle: 5 maxActive: 20 cloud: consul: discovery: enabled: true heartbeat: enabled: true host: 172.20.0.90 port: 8500 redis: host: 49.4.21.141 port: 6379 password: Bcx#2023 lettuce: # redis连接池配置 pool: max-active: -1 #连接池最大连接数(使用负值表示没有限制) 默认为30 max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认为-1 max-idle: 8 # 连接池中的最大空闲连接 默认为8 min-idle: 0 # 连接池中的最小空闲连接 默认为 0 jpa: database: mysql show-sql: false hibernate: ddl-auto: none properties: hibernate: default_schema: kafka: bootstrap-servers: 117.78.39.204:9092 consumer: auto-offset-reset: earliest enable-auto-commit: false group-id: v5-cache-consumer fetch-max-wait: 1s fetch-min-size: 512B admin: fail-fast: true listener: ack-mode: manual_immediate concurrency: 11 retry: topic: delay: 2 attempts: 5 logging: config: classpath:log4j2.xml file: mode: useFtp: true host: 49.4.84.49 userName: snbaichuanxin password: Bcx#sn2020 port: 21 filePath: /data/ftptest/snupload