application-zihao.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. java110:
  26. community-service: community-service
  27. acct-service: acct-service
  28. user-service: user-service
  29. store-service: store-service
  30. common-service: common-service
  31. job-service: job-service
  32. fee-service: fee-service
  33. report-service: report-service
  34. dev-service: dev-service
  35. oa-service: oa-service
  36. spring:
  37. profiles:
  38. active: share
  39. http:
  40. encoding:
  41. charset: UTF-8
  42. enabled: true
  43. force: true
  44. application:
  45. name: community-service
  46. redis:
  47. database: 0
  48. host: dev.redis.java110.com
  49. port: 6379
  50. password: ${redispwd}
  51. pool:
  52. max-active: 300
  53. max-wait: 10000
  54. max-idle: 100
  55. min-idle: 0
  56. timeout: 0
  57. activiti:
  58. database-schema-update: false
  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: communityBusinessStatus
  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