1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- spring:
- datasource:
- druid:
- name: mydb
- url: ${public.datasource.parkdb.url}
- username: ${public.datasource.parkdb.cpmp-service.username}
- password: ${public.datasource.parkdb.cpmp-service.password}
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.jdbc.Driver
- filters: stat
- maxActive: 200
- initialSize: 20
- maxWait: 60000
- minIdle: 20
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: select 'x'
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxOpenPreparedStatements: 100
- cache:
- type: redis
- http:
- multipart:
- maxFileSize: 30Mb
- maxRequestSize: 100Mb
- cloud:
- stream:
- kafka:
- binder:
- brokers: ${public.kafka.default.brokers}
- auto-create-topics: false
- replication-factor: 3
- bindings:
- park-authorization-system-output:
- destination: park-authorization-system
- producer:
- key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
- value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
-
- redis:
- host: ${public.redis.default.host}
- port: ${public.redis.default.port}
- password: ${public.redis.default.password}
- pool:
- max-active: 100
- max-idle: 10
- max-wait: 100000
- ribbon:
- ReadTimeout: 20000
- ConnectTimeout: 10000
-
- wechat:
- reportUser:
- reportTemplateId: Og217P5JAtBXm_gzSoS9uZxZ-A_xatXqzaFxZEasjeE
- parkUser:
- parkTemplateId: c-HOvWlogcx4NBvvI8lobobCaANLBLeS0TjWcZ0g-ek
-
- parkauth:
- is-switch: 1
- offset: 6
- trial:
- day: 15
- will-expire: 7
- normal:
- will-expire1: 30
- will-expire2: 7
- out-of: -30
|