application-dev.yml 2.3 KB

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