application-pre.yml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. server:
  2. port: 8080
  3. eureka:
  4. instance:
  5. prefer-ip-address: true #是否优先使用IP地址作为主机名的标识,默认false
  6. instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port} #注册到eureka上的唯一实例ID
  7. lease-renewal-interval-in-seconds: 10 #表示eureka client发送心跳给server端的频率,默认30
  8. lease-expiration-duration-in-seconds: 30 #表示eureka server至上一次收到client的心跳之后,等待下一次心跳的超时时间,在这个时间内若没收到下一次心跳,则将移除该instance,默认90
  9. client:
  10. registry-fetch-interval-seconds: 5 #定时从Eureka Server拉取服务注册信息的间隔时间
  11. serviceUrl:
  12. defaultZone: http://preeureka-internal.piaoquantv.com/eureka/
  13. spring:
  14. datasource:
  15. driver-class-name: com.mysql.jdbc.Driver
  16. url: jdbc:mysql://rm-bp1jjv3jv98133plv285-vpc-rw.mysql.rds.aliyuncs.com:3306/longvideo?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
  17. username: wx2016_longvideo
  18. password: wx2016_longvideoP@assword1234
  19. type: com.zaxxer.hikari.HikariDataSource
  20. hikari:
  21. minimum-idle: 10
  22. maximum-pool-size: 20
  23. connection-test-query: SELECT 1
  24. redis:
  25. hostName: r-bp1oyhyx4mxgs6klyt561.redis.rds.aliyuncs.com
  26. port: 6379
  27. password: Wqsd@2019
  28. timeout: 1000
  29. lettuce:
  30. pool:
  31. max-active: 8
  32. max-wait: -1
  33. max-idle: 8
  34. min-idle: 0
  35. data:
  36. mongodb:
  37. uri: mongodb://content_user:Content123&@s-bp15728065fa22a4.mongodb.rds.aliyuncs.com:3717,s-bp12258b064c3ef4.mongodb.rds.aliyuncs.com:3717/content
  38. logging:
  39. file:
  40. path: /datalog/weblog/${project.name}
  41. app:
  42. id: content-understanding
  43. apollo:
  44. bootstrap:
  45. enabled: true
  46. namespaces: application
  47. meta: http://preapolloconfig-internal.piaoquantv.com
  48. cacheDir: /datalog/apollo-cache-dir
  49. aliyun:
  50. log:
  51. logstore:
  52. action: action-log-pre
  53. request: request-log-pre
  54. result: result-log-pre
  55. error: error-log-pre
  56. topic:
  57. xxl:
  58. job:
  59. admin:
  60. addresses: http://xxl-job-pre-internal.piaoquantv.com/xxl-job-admin
  61. accessToken:
  62. executor:
  63. appname: ${project.name}
  64. address:
  65. ip:
  66. port: 9999
  67. logpath: /datalog/weblog/${project.name}/xxl-job/
  68. logretentiondays: 30
  69. longvideoapi:
  70. getVideoBaseInfoUrl: http://videopre-internal.piaoquantv.com/longvideoapi/openapi/video/getBaseInfo
  71. rocketmq:
  72. consumer:
  73. endpoints: rmq-cn-vym47zv2i03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
  74. oldversion:
  75. topic: topic_old_version_remain_video_understanding_pre
  76. group: group_old_version_remain_video_understanding_pre
  77. producer:
  78. endpoints: rmq-cn-vym47zv2i03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
  79. oldversion:
  80. topic: topic_old_version_remain_video_understanding_pre