application-dev.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. project:
  2. name: dev
  3. jedis:
  4. pool:
  5. config:
  6. maxTotal: 100
  7. maxIdle: 20
  8. maxWaitMillis: 20000
  9. host: dev.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://dev.java110.com:8761/eureka/
  22. #defaultZone: http://localhost:8761/eureka/
  23. server:
  24. port: 8443
  25. ssl:
  26. keyStoreType: PKCS12
  27. keyAlias: tomcat
  28. key-store: classpath:keystore.p12
  29. key-store-password: 12345678
  30. session:
  31. cookie:
  32. http-only: true
  33. tomcat:
  34. uri-encoding: UTF-8
  35. spring:
  36. http:
  37. encoding:
  38. charset: UTF-8
  39. enabled: true
  40. force: true
  41. application:
  42. name: web-service
  43. redis:
  44. database: 0
  45. host: dev.redis.java110.com
  46. port: 6379
  47. pool:
  48. max-active: 300
  49. max-wait: 10000
  50. max-idle: 100
  51. min-idle: 0
  52. timeout: 0
  53. thymeleaf:
  54. mode: LEGACYHTML5
  55. cache: false
  56. prefix: classpath:/views/
  57. encoding: UTF-8
  58. suffix: .html
  59. content-type: text/html
  60. #============== kafka ===================
  61. kafka:
  62. consumer:
  63. zookeeper:
  64. connect: dev.zk.java110.com:2181
  65. servers: dev.kafka.java110.com:9092
  66. enable:
  67. auto:
  68. commit: true
  69. session:
  70. timeout: 6000
  71. auto:
  72. commit:
  73. interval: 100
  74. offset:
  75. reset: latest
  76. topic: test
  77. group:
  78. id: consoleService
  79. concurrency: 10
  80. producer:
  81. zookeeper:
  82. connect: dev.zk.java110.com:2181
  83. servers: dev.kafka.java110.com:9092
  84. retries: 0
  85. batch:
  86. size: 4096
  87. linger: 1
  88. buffer:
  89. memory: 40960