且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Hystrix 和 Turbine 不适用于 Spring boot 2 和 Spring cloud Finchley.M8

更新时间:2022-04-07 23:30:58

还好配置解决了问题,Spring boot 和 Spring cloud 没有任何 bug.非常感谢乔什·朗!在这里你可以找到带有配置的完整项目.https://github.com/armdev/reactive-spring-cloud/blob/master/google/src/main/resources/application.properties

Fortunately problem solved by configuration, no any bug in Spring boot and Spring cloud. Many thanks to Josh Long ! Here you can find full project with config. https://github.com/armdev/reactive-spring-cloud/blob/master/google/src/main/resources/application.properties

server.port=8082
spring.application.name=turbine
management.endpoint.health.enabled=true
management.endpoints.jmx.exposure.include=*
management.endpoints.web.exposure.include=*
management.endpoints.web.base-path=/actuator
management.endpoints.web.cors.allowed-origins=true
management.endpoint.health.show-details=always
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://localhost:8761/eureka}
eureka.instance.lease-expiration-duration-in-seconds=5
eureka.instance.lease-renewal-interval-in-seconds=5
turbine.aggregator.cluster-config=default
turbine.app-config=google
turbine.cluster-name-expression= new String("default")
turbine.combine-host-port=true
turbine.instanceUrlSuffix.default: actuator/hystrix.stream