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 redis: open: true # 是否开启redis缓存 true开启 false关闭 database: 0 host: ${public.redis.default.host} port: ${public.redis.default.port} password: ${public.redis.default.password} timeout: 6000 # 连接超时时长(毫秒) pool: max-active: 1000 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 10 # 连接池中的最大空闲连接 min-idle: 5 # 连接池中的最小空闲连接 cloud: stream: kafka: binder: brokers: 172.21.1.177:9092 auto-create-topics: True min-partition-count: 3 bindings: duty-message-input: destination: duty-message duty-message-json-output: destination: duty-message-json content-type: application/json producer: partitionKeyExpression: payload.park_id duty-message-json-input: destination: duty-message-json content-type: application/json group: ${spring.application.name} kafka: consumer: group-id: ${spring.application.name} mybatis: mapperLocations: classpath*:mapper/*Mapper.xml,classpath*:mapper/**/*Mapper.xml # 分页配置 pagehelper: helper-dialect: mysql reasonable: true support-methods-arguments: true params: count=countSql ribbon: ReadTimeout: 60000 ConnectTimeout: 60000 logging: level: org.springframework: DEBUG cn.akeparking.zbcloud: DEBUG org.spring.springboot.dao: DEBUG org.apache.kafka: DEBUG # freeswitch freeswitch: user-api-url: ${freeswitch.lua-api-url}?/usr/local/freeswitch/scripts/user.lua #OSS地址 oss: domain: https://ake-bem-parking-test.oss-cn-shenzhen.aliyuncs.com/ #PRMS初始化环境枪URL prms-init-enVironment-gun-url: http://testprms.yidianting.xin/api/public/ytj_camera_url ezviz: appKey: c9603efcdf654e478dd713e9fe06aa4e appSecret: ec92186e0824f51fc3359aeabe6d7d79