application-zihao.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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: ${redispwd}
  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: 8008
  23. tomcat:
  24. uri-encoding: UTF-8
  25. spring:
  26. servlet:
  27. multipart:
  28. maxFileSize: 50MB
  29. maxRequestSize: 50MB
  30. http:
  31. encoding:
  32. charset: UTF-8
  33. enabled: true
  34. force: true
  35. application:
  36. name: api-service
  37. redis:
  38. database: 0
  39. host: dev.redis.java110.com
  40. port: 6379
  41. password: ${redispwd}
  42. pool:
  43. max-active: 300
  44. max-wait: 10000
  45. max-idle: 100
  46. min-idle: 0
  47. timeout: 0
  48. java110:
  49. community-service: community-service
  50. acct-service: acct-service
  51. user-service: user-service
  52. store-service: store-service
  53. common-service: common-service
  54. job-service: job-service
  55. fee-service: fee-service
  56. report-service: report-service
  57. dev-service: dev-service
  58. oa-service: oa-service
  59. feign:
  60. client:
  61. config:
  62. default:
  63. connect-timeout: 10000
  64. read-timeout: 20000
  65. #============== kafka ===================
  66. kafka:
  67. consumer:
  68. zookeeper:
  69. connect: dev.zk.java110.com:2181
  70. servers: dev.kafka.java110.com:9092
  71. enable:
  72. auto:
  73. commit: true
  74. session:
  75. timeout: 6000
  76. auto:
  77. commit:
  78. interval: 100
  79. offset:
  80. reset: latest
  81. topic: test
  82. group:
  83. id: -1 # -1 表示自己生成 走广播模式
  84. concurrency: 10
  85. producer:
  86. zookeeper:
  87. connect: dev.zk.java110.com:2181
  88. servers: dev.kafka.java110.com:9092
  89. retries: 0
  90. batch:
  91. size: 4096
  92. linger: 1
  93. buffer:
  94. memory: 40960
  95. logging:
  96. level:
  97. com.java110.core.smo: debug