【发布时间】:2017-07-10 15:48:53
【问题描述】:
我尝试使用 Netflix Turbine (1.1.5) 对 hystrix (1.1.5) 流进行分组。
涡轮应用配置:
spring.application.name=moritoring_server
server.port=8989
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka eureka.instance.preferIpAddress=true
turbine.aggregator.clusterConfig=MPI_Services Turbo.appconfig=MPI_Services
使用hystrix的Healthy-checks App需要显示在Turbine Dashboard中:
spring.application.name=health_checks_service
spring.cloud.config.enabled=true
spring.cloud.config.discovery.enabled=true
spring.cloud.config.discovery.serviceId=MPI_Services
server.port=8081
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka
eureka.instance.preferIpAddress=true
eureka.instance.metadataMap.cluster=MPI_Services
我可以看到来自 Eureka 的集群如下,来自 Turbine 的单个 Hystrix 流很好,
但是,我不能在 Turbine 流中使用集群,而且它似乎一直在加载,
有人可以告诉我如何解决这个问题吗?
谢谢, 肖恩
【问题讨论】:
标签: spring-boot spring-cloud-netflix netflix