| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- jedis:
- pool:
- config:
- maxTotal: 100
- maxIdle: 20
- maxWaitMillis: 20000
- host: dev.redis.java110.com
- port: 6379
- timeout: 3000
- password: hc
- eureka:
- instance:
- leaseRenewalIntervalInSeconds: 10
- leaseExpirationDurationInSeconds: 30
- preferIpAddress: true
- instanceId: ${spring.cloud.client.ip-address}:${server.port}
- client:
- serviceUrl:
- defaultZone: http://dev.java110.com:8761/eureka/
- #defaultZone: http://localhost:8761/eureka/
- server:
- port: 8007
- tomcat:
- uri-encoding: UTF-8
- spring:
- profiles:
- active: share
- http:
- encoding:
- charset: UTF-8
- enabled: true
- force: true
- application:
- name: report-service
- redis:
- database: 0
- host: dev.redis.java110.com
- port: 6379
- password: hc
- pool:
- max-active: 300
- max-wait: 10000
- max-idle: 100
- min-idle: 0
- timeout: 0
- activiti:
- database-schema-update: false
- # false:false为默认值,设置为该值后,Activiti在启动时,会对比数据库表中保存的版本,如果版本不匹配时,将在启动时抛出异常。
- # true:设置为该值后,Activiti会对数据库中所有的表进行更新,如果表不存在,则Activiti会自动创建。
- # create-drop:Activiti启动时,会执行数据库表的创建操作,在Activiti关闭时,执行数据库表的删除操作。
- # drop-create:Activiti启动时,执行数据库表的删除操作在Activiti关闭时,会执行数据库表的创建操作。
- # 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://dev.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
- #============== kafka ===================
- kafka:
- consumer:
- zookeeper:
- connect: dev.zk.java110.com:2181
- servers: dev.kafka.java110.com:9092
- enable:
- auto:
- commit: true
- session:
- timeout: 6000
- auto:
- commit:
- interval: 100
- offset:
- reset: latest
- topic: test
- group:
- id: reportBusinessStatus
- concurrency: 10
- producer:
- zookeeper:
- connect: dev.zk.java110.com:2181
- servers: dev.kafka.java110.com:9092
- retries: 0
- batch:
- size: 4096
- linger: 1
- buffer:
- memory: 40960
|