application.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: crawler-etl
  6. jackson:
  7. default-property-inclusion: NON_NULL
  8. datasource:
  9. driver-class-name: com.mysql.jdbc.Driver
  10. type: com.zaxxer.hikari.HikariDataSource
  11. hikari:
  12. minimum-idle: 10
  13. maximum-pool-size: 60
  14. connection-test-query: SELECT 1
  15. server:
  16. tomcat:
  17. threads:
  18. max: 1000
  19. uri-encoding: UTF-8
  20. accept-count: 1000
  21. connection-timeout: 30000
  22. servlet:
  23. context-path: /crawler-etl
  24. session:
  25. timeout: 60
  26. pagehelper:
  27. helper-dialect: mysql
  28. mybatis:
  29. type-aliases-package: com.tzld.crawler.etl.model.po
  30. mapper-locations: classpath:mapper/**/*.xml
  31. configuration:
  32. log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
  33. logging:
  34. file:
  35. path: /datalog/weblog/${spring.application.name}/
  36. app:
  37. id: ${spring.application.name}
  38. apollo:
  39. bootstrap:
  40. enabled: true
  41. namespaces: application
  42. cacheDir: /datalog/apollo-cache-dir
  43. feign:
  44. client:
  45. config:
  46. default:
  47. connectTimeout: 2000
  48. readTimeout: 60000
  49. aliyun:
  50. oss:
  51. endpoint: oss-cn-hangzhou.aliyuncs.com
  52. accessKeyId: LTAIP6x1l3DXfSxm
  53. accessKeySecret: KbTaM9ars4OX3PMS6Xm7rtxGr1FLon
  54. log:
  55. endpoint: cn-hangzhou.log.aliyuncs.com
  56. accessKeyId: LTAIP6x1l3DXfSxm
  57. accessKeySecret: KbTaM9ars4OX3PMS6Xm7rtxGr1FLon
  58. logstore:
  59. info: info-log
  60. error: error-log
  61. rocketmq:
  62. httpEndpoint: http://1894469520484605.mqrest.cn-qingdao-public.aliyuncs.com
  63. instanceId: MQ_INST_1894469520484605_BXhXuzkZ
  64. accessKey: LTAI4G7puhXtLyHzHQpD6H7A
  65. secretKey: nEbq3xWNQd1qLpdy2u71qFweHkZjSG