application-test.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. project:
  2. name: test
  3. jedis:
  4. pool:
  5. config:
  6. maxTotal: 100
  7. maxIdle: 20
  8. maxWaitMillis: 20000
  9. host: test.redis.java110.com
  10. port: 6379
  11. timeout: 3000
  12. password:
  13. eureka:
  14. instance:
  15. leaseRenewalIntervalInSeconds: 10
  16. leaseExpirationDurationInSeconds: 30
  17. preferIpAddress: true
  18. instanceId: ${spring.cloud.client.ip-address}:${server.port}
  19. client:
  20. serviceUrl:
  21. defaultZone: http://test.java110.com:8761/eureka/
  22. #defaultZone: http://localhost:8761/eureka/
  23. server:
  24. port: 8012
  25. session:
  26. cookie:
  27. http-only: true
  28. tomcat:
  29. uri-encoding: UTF-8
  30. spring:
  31. http:
  32. encoding:
  33. charset: UTF-8
  34. enabled: true
  35. force: true
  36. application:
  37. name: app-front-service
  38. redis:
  39. database: 0
  40. host: test.redis.java110.com
  41. port: 6379
  42. pool:
  43. max-active: 300
  44. max-wait: 10000
  45. max-idle: 100
  46. min-idle: 0
  47. timeout: 0
  48. thymeleaf:
  49. mode: LEGACYHTML5
  50. cache: false
  51. prefix: classpath:/views/
  52. encoding: UTF-8
  53. suffix: .html
  54. content-type: text/html
  55. #============== kafka ===================
  56. kafka:
  57. consumer:
  58. zookeeper:
  59. connect: test.zk.java110.com:2181
  60. servers: test.kafka.java110.com:9092
  61. enable:
  62. auto:
  63. commit: true
  64. session:
  65. timeout: 6000
  66. auto:
  67. commit:
  68. interval: 100
  69. offset:
  70. reset: latest
  71. topic: test
  72. group:
  73. id: appFrontService
  74. concurrency: 10
  75. producer:
  76. zookeeper:
  77. connect: test.zk.java110.com:2181
  78. servers: test.kafka.java110.com:9092
  79. retries: 0
  80. batch:
  81. size: 4096
  82. linger: 1
  83. buffer:
  84. memory: 40960