application-test.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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://testeureka-internal.piaoquantv.com/eureka/
  13. spring:
  14. datasource:
  15. driver-class-name: com.mysql.jdbc.Driver
  16. url: jdbc:mysql://rm-bp1k5853td1r25g3n690.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. data:
  25. mongodb:
  26. uri: mongodb://content_user:Content123&@s-bp15728065fa22a4.mongodb.rds.aliyuncs.com:3717,s-bp12258b064c3ef4.mongodb.rds.aliyuncs.com:3717/content_test
  27. logging:
  28. file:
  29. path: /datalog/weblog/${project.name}
  30. app:
  31. id: content-understanding
  32. apollo:
  33. bootstrap:
  34. enabled: true
  35. namespaces: application
  36. meta: http://testapolloconfig-internal.piaoquantv.com
  37. cacheDir: /datalog/apollo-cache-dir
  38. aliyun:
  39. log:
  40. logstore:
  41. action: action-log-test
  42. request: request-log-test
  43. result: result-log-test
  44. error: error-log-test
  45. topic:
  46. xxl:
  47. job:
  48. admin:
  49. addresses: http://xxl-job-test-internal.piaoquantv.com/xxl-job-admin
  50. accessToken:
  51. executor:
  52. appname: ${project.name}
  53. address:
  54. ip:
  55. port: 9999
  56. logpath: /datalog/weblog/${project.name}/xxl-job/
  57. logretentiondays: 30
  58. longvideoapi:
  59. getVideoBaseInfoUrl: http://videotest-internal.yishihui.com/longvideoapi/openapi/video/getBaseInfo
  60. rocketmq:
  61. consumer:
  62. endpoints: rmq-cn-vym47zv2i03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
  63. oldversion:
  64. topic: topic_old_version_remain_video_understanding_test
  65. group: group_old_version_remain_video_understanding_test
  66. producer:
  67. endpoints: rmq-cn-vym47zv2i03-vpc.cn-hangzhou.rmq.aliyuncs.com:8080
  68. oldversion:
  69. topic: topic_old_version_remain_video_understanding_test