bem-cpmp-service.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. spring:
  2. datasource:
  3. druid:
  4. name: mydb
  5. url: ${public.datasource.parkdb.url}
  6. username: ${public.datasource.parkdb.cpmp-service.username}
  7. password: ${public.datasource.parkdb.cpmp-service.password}
  8. type: com.alibaba.druid.pool.DruidDataSource
  9. driver-class-name: com.mysql.jdbc.Driver
  10. filters: stat
  11. maxActive: 200
  12. initialSize: 20
  13. maxWait: 60000
  14. minIdle: 20
  15. timeBetweenEvictionRunsMillis: 60000
  16. minEvictableIdleTimeMillis: 300000
  17. validationQuery: select 'x'
  18. testWhileIdle: true
  19. testOnBorrow: false
  20. testOnReturn: false
  21. poolPreparedStatements: true
  22. maxOpenPreparedStatements: 100
  23. cache:
  24. type: redis
  25. http:
  26. multipart:
  27. maxFileSize: 30Mb
  28. maxRequestSize: 100Mb
  29. cloud:
  30. stream:
  31. kafka:
  32. binder:
  33. brokers: kafka-svc:9092
  34. auto-create-topics: false
  35. replication-factor: 3
  36. bindings:
  37. park-authorization-system-output:
  38. destination: park-authorization-system
  39. producer:
  40. key-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  41. value-serializer: org.apache.kafka.common.serialization.ByteArraySerializer
  42. redis:
  43. host: ${public.redis.default.host}
  44. port: ${public.redis.default.port}
  45. password: ${public.redis.default.password}
  46. pool:
  47. max-active: 100
  48. max-idle: 10
  49. max-wait: 100000
  50. ribbon:
  51. ReadTimeout: 20000
  52. ConnectTimeout: 10000
  53. logging:
  54. level:
  55. org.springframework: DEBUG
  56. cn.akeparking.zbcloud: DEBUG
  57. cn.akeparking.zbcloud.parkconfig.dao: DEBUG
  58. org.spring.springboot.dao: DEBUG
  59. org.apache.kafka: DEBUG
  60. wechat:
  61. reportUser:
  62. reportTemplateId: Og217P5JAtBXm_gzSoS9uZxZ-A_xatXqzaFxZEasjeE
  63. parkUser:
  64. parkTemplateId: c-HOvWlogcx4NBvvI8lobobCaANLBLeS0TjWcZ0g-ek
  65. parkauth:
  66. is-switch: 1
  67. offset: 6
  68. trial:
  69. day: 15
  70. will-expire: 7
  71. normal:
  72. will-expire1: 30
  73. will-expire2: 7
  74. out-of: -30