application.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. jedis:
  2. pool:
  3. config:
  4. maxTotal: 100
  5. maxIdle: 20
  6. maxWaitMillis: 20000
  7. host: 135.192.86.200
  8. port: 6379
  9. eureka:
  10. instance:
  11. leaseRenewalIntervalInSeconds: 10
  12. leaseExpirationDurationInSeconds: 30
  13. client:
  14. serviceUrl:
  15. defaultZone: http://135.192.86.200:8761/eureka/
  16. #defaultZone: http://localhost:8761/eureka/
  17. server:
  18. port: 8443
  19. ssl:
  20. keyStoreType: PKCS12
  21. keyAlias: tomcat
  22. key-store: classpath:keystore.p12
  23. key-store-password: 12345678
  24. session:
  25. cookie:
  26. http-only: true
  27. spring:
  28. application:
  29. name: console-service
  30. redis:
  31. database: 0
  32. host: 135.192.86.200
  33. port: 6379
  34. pool:
  35. max-active: 300
  36. max-wait: 10000
  37. max-idle: 100
  38. min-idle: 0
  39. timeout: 0
  40. datasource:
  41. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  42. minIdle: 5
  43. validationQuery: SELECT 1 FROM DUAL
  44. initialSize: 5
  45. maxWait: 60000
  46. filters: stat,wall,log4j
  47. poolPreparedStatements: true
  48. type: com.alibaba.druid.pool.DruidDataSource
  49. url: jdbc:mysql://135.192.86.200:3306/TT
  50. maxPoolPreparedStatementPerConnectionSize: 20
  51. password: TT@12345678
  52. testOnBorrow: false
  53. testWhileIdle: true
  54. minEvictableIdleTimeMillis: 300000
  55. timeBetweenEvictionRunsMillis: 60000
  56. testOnReturn: false
  57. driverClassName: com.mysql.jdbc.Driver
  58. maxActive: 20
  59. username: TT
  60. freemarker:
  61. charset: UTF-8
  62. cache: false
  63. expose-request-attributes: true
  64. request-context-attribute: request
  65. expose-session-attributes: true
  66. content-type: text/html
  67. template-loader-path: classpath:/html/
  68. suffix: .html
  69. check-template-location: true
  70. #============== kafka ===================
  71. kafka:
  72. consumer:
  73. zookeeper:
  74. connect: 135.192.86.200:2181
  75. servers: 135.192.86.200:9092
  76. enable:
  77. auto:
  78. commit: true
  79. session:
  80. timeout: 6000
  81. auto:
  82. commit:
  83. interval: 100
  84. offset:
  85. reset: latest
  86. topic: test
  87. group:
  88. id: consoleService
  89. concurrency: 10
  90. producer:
  91. zookeeper:
  92. connect: 135.192.86.200:2181
  93. servers: 135.192.86.200:9092
  94. retries: 0
  95. batch:
  96. size: 4096
  97. linger: 1
  98. buffer:
  99. memory: 40960