application-test.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. jedis:
  2. pool:
  3. config:
  4. maxTotal: 100
  5. maxIdle: 20
  6. maxWaitMillis: 20000
  7. host: test.redis.java110.com
  8. port: 6379
  9. timeout: 3000
  10. password: hc
  11. eureka:
  12. instance:
  13. leaseRenewalIntervalInSeconds: 10
  14. leaseExpirationDurationInSeconds: 30
  15. preferIpAddress: true
  16. instanceId: ${spring.cloud.client.ip-address}:${server.port}
  17. client:
  18. serviceUrl:
  19. defaultZone: http://test.java110.com:8761/eureka/
  20. #defaultZone: http://localhost:8761/eureka/
  21. server:
  22. port: 8007
  23. tomcat:
  24. uri-encoding: UTF-8
  25. spring:
  26. http:
  27. encoding:
  28. charset: UTF-8
  29. enabled: true
  30. force: true
  31. application:
  32. name: report-service
  33. redis:
  34. database: 0
  35. host: test.redis.java110.com
  36. port: 6379
  37. password: hc
  38. pool:
  39. max-active: 300
  40. max-wait: 10000
  41. max-idle: 100
  42. min-idle: 0
  43. timeout: 0
  44. datasource:
  45. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  46. minIdle: 5
  47. validationQuery: SELECT 1 FROM DUAL
  48. initialSize: 5
  49. maxWait: 60000
  50. filters: stat,wall,log4j
  51. poolPreparedStatements: true
  52. type: com.alibaba.druid.pool.DruidDataSource
  53. url: jdbc:mysql://test.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8
  54. maxPoolPreparedStatementPerConnectionSize: 20
  55. password: TT@12345678
  56. testOnBorrow: false
  57. testWhileIdle: true
  58. minEvictableIdleTimeMillis: 300000
  59. timeBetweenEvictionRunsMillis: 60000
  60. testOnReturn: false
  61. driverClassName: com.mysql.jdbc.Driver
  62. maxActive: 20
  63. username: TT
  64. activiti:
  65. database-schema-update: false
  66. #============== kafka ===================
  67. kafka:
  68. consumer:
  69. zookeeper:
  70. connect: test.zk.java110.com:2181
  71. servers: test.kafka.java110.com:9092
  72. enable:
  73. auto:
  74. commit: true
  75. session:
  76. timeout: 6000
  77. auto:
  78. commit:
  79. interval: 100
  80. offset:
  81. reset: latest
  82. topic: test
  83. group:
  84. id: reportBusinessStatus
  85. concurrency: 10
  86. producer:
  87. zookeeper:
  88. connect: test.zk.java110.com:2181
  89. servers: test.kafka.java110.com:9092
  90. retries: 0
  91. batch:
  92. size: 4096
  93. linger: 1
  94. buffer:
  95. memory: 40960