#端口号 server: port: 9300 #spring配置 spring: cloud: config: fail-fast: false #客户端连接失败时开启重试,需要结合spring-retry、spring-aop label: main #获取配置文件的分支名 name: application-goods9300 #获取的文件名 profile: goods9300 #文件后缀 uri: http://localhost:7001 #配置中心服务端地址 zipkin: base-url: http://localhost:9411 #zipkin地址 默认值就是0.1,代表收集10%的请求追踪信息。 discovery-client-enabled: false sender: type: web sleuth: sampler: percentage: 0.1 #收集百分比 #注册中心配置 eureka: client: service-url: defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/