application-dev.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. eureka:
  10. instance:
  11. leaseRenewalIntervalInSeconds: 10
  12. leaseExpirationDurationInSeconds: 30
  13. preferIpAddress: true
  14. instanceId: ${spring.cloud.client.ip-address}:${server.port}
  15. client:
  16. serviceUrl:
  17. defaultZone: http://dev.java110.com:8761/eureka/
  18. #defaultZone: http://localhost:8761/eureka/
  19. server:
  20. port: 8086
  21. tomcat:
  22. uri-encoding: UTF-8
  23. spring:
  24. http:
  25. encoding:
  26. charset: UTF-8
  27. enabled: true
  28. force: true
  29. application:
  30. name: job-service
  31. redis:
  32. database: 0
  33. host: dev.redis.java110.com
  34. port: 6379
  35. pool:
  36. max-active: 300
  37. max-wait: 10000
  38. max-idle: 100
  39. min-idle: 0
  40. timeout: 0
  41. datasource:
  42. connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  43. minIdle: 5
  44. validationQuery: SELECT 1 FROM DUAL
  45. initialSize: 5
  46. maxWait: 60000
  47. filters: stat,wall,log4j
  48. poolPreparedStatements: true
  49. type: com.alibaba.druid.pool.DruidDataSource
  50. url: jdbc:mysql://dev.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8
  51. maxPoolPreparedStatementPerConnectionSize: 20
  52. password: TT@12345678
  53. testOnBorrow: false
  54. testWhileIdle: true
  55. minEvictableIdleTimeMillis: 300000
  56. timeBetweenEvictionRunsMillis: 60000
  57. testOnReturn: false
  58. driverClassName: com.mysql.jdbc.Driver
  59. maxActive: 20
  60. username: TT
  61. #============== kafka ===================
  62. kafka:
  63. consumer:
  64. zookeeper:
  65. connect: dev.zk.java110.com:2181
  66. servers: dev.kafka.java110.com:9092
  67. enable:
  68. auto:
  69. commit: true
  70. session:
  71. timeout: 6000
  72. auto:
  73. commit:
  74. interval: 100
  75. offset:
  76. reset: latest
  77. topic: test
  78. group:
  79. id: notifyBusinessStatus
  80. concurrency: 10
  81. producer:
  82. zookeeper:
  83. connect: dev.zk.java110.com:2181
  84. servers: dev.kafka.java110.com:9092
  85. retries: 0
  86. batch:
  87. size: 4096
  88. linger: 1
  89. buffer:
  90. memory: 40960
  91. quartz:
  92. properties:
  93. org:
  94. quartz:
  95. scheduler:
  96. instanceName: clusteredScheduler
  97. instanceId: AUTO
  98. jobStore:
  99. class: org.quartz.impl.jdbcjobstore.JobStoreTX
  100. driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  101. tablePrefix: HC_
  102. isClustered: false
  103. clusterCheckinInterval: 10000
  104. useProperties: false
  105. threadPool:
  106. class: org.quartz.simpl.SimpleThreadPool
  107. threadCount: 10
  108. threadPriority: 5
  109. threadsInheritContextClassLoaderOfInitializingThread: true
  110. job-store-type: jdbc