| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- project:
- name: prod
- jedis:
- pool:
- config:
- maxTotal: 100
- maxIdle: 20
- maxWaitMillis: 20000
- host: prod.redis.java110.com
- port: 6379
- eureka:
- instance:
- leaseRenewalIntervalInSeconds: 10
- leaseExpirationDurationInSeconds: 30
- preferIpAddress: true
- instanceId: ${spring.cloud.client.ipAddress}:${server.port}
- client:
- serviceUrl:
- defaultZone: http://prod.java110.com:8761/eureka/
- #defaultZone: http://localhost:8761/eureka/
- server:
- port: 8443
- ssl:
- keyStoreType: PKCS12
- keyAlias: tomcat
- key-store: classpath:keystore.p12
- key-store-password: 12345678
- session:
- cookie:
- http-only: true
- tomcat:
- uri-encoding: UTF-8
- spring:
- http:
- encoding:
- charset: UTF-8
- enabled: true
- force: true
- application:
- name: console-service
- redis:
- database: 0
- host: prod.redis.java110.com
- port: 6379
- pool:
- max-active: 300
- max-wait: 10000
- max-idle: 100
- min-idle: 0
- timeout: 0
- datasource:
- connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
- minIdle: 5
- validationQuery: SELECT 1 FROM DUAL
- initialSize: 5
- maxWait: 60000
- filters: stat,wall,log4j
- poolPreparedStatements: true
- type: com.alibaba.druid.pool.DruidDataSource
- url: jdbc:mysql://prod.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8
- maxPoolPreparedStatementPerConnectionSize: 20
- password: TT@12345678
- testOnBorrow: false
- testWhileIdle: true
- minEvictableIdleTimeMillis: 300000
- timeBetweenEvictionRunsMillis: 60000
- testOnReturn: false
- driverClassName: com.mysql.jdbc.Driver
- maxActive: 20
- username: TT
- thymeleaf:
- mode: LEGACYHTML5
- cache: false
- prefix: classpath:/views/
- encoding: UTF-8
- suffix: .html
- content-type: text/html
- #============== kafka ===================
- kafka:
- consumer:
- zookeeper:
- connect: prod.zk.java110.com:2181
- servers: prod.kafka.java110.com:9092
- enable:
- auto:
- commit: true
- session:
- timeout: 6000
- auto:
- commit:
- interval: 100
- offset:
- reset: latest
- topic: test
- group:
- id: consoleService
- concurrency: 10
- producer:
- zookeeper:
- connect: prod.zk.java110.com:2181
- servers: prod.kafka.java110.com:9092
- retries: 0
- batch:
- size: 4096
- linger: 1
- buffer:
- memory: 40960
|