Spring boot 希斯特里克斯';s的运行状况终结点不可用
我试图在Springboot和Netflix的Hystrix实现中使用断路器模式,我正在努力访问它的健康端点 文档中提到它应该可以在Spring boot 希斯特里克斯';s的运行状况终结点不可用,spring-boot,spring-boot-actuator,hystrix,Spring Boot,Spring Boot Actuator,Hystrix,我试图在Springboot和Netflix的Hystrix实现中使用断路器模式,我正在努力访问它的健康端点 文档中提到它应该可以在/hystrix.stream中找到,但事实并非如此。此外,我注意到应用程序初始化时出现以下错误:端点ID“hystrix.stream”包含无效字符,请迁移到有效格式。 是否有人知道如何解决此问题或如何更改端点名称 版本: Springboot 2.1.4.版本 Spring Cloud Greenwich.SR1 提前谢谢 对于spring boot 2.1.x
/hystrix.stream
中找到,但事实并非如此。此外,我注意到应用程序初始化时出现以下错误:端点ID“hystrix.stream”包含无效字符,请迁移到有效格式。
是否有人知道如何解决此问题或如何更改端点名称
版本:
Springboot 2.1.4.版本
Spring Cloud Greenwich.SR1
提前谢谢 对于spring boot 2.1.x,hystrix的默认端点URL为
/exactor/hystrix.stream
服务器启动时,您应该能够在日志中看到类似的内容:
INFO 14451 --- [ost-startStop-1] o.s.b.a.e.web.ServletEndpointRegistrar : Registered '/actuator/hystrix.stream' to hystrix.stream-actuator-endpoint
在
pom.xml
中尝试/exactor/hystrix.stream尝试将spring cloud版本更改为Hoxton.RELEASE
:
<properties>
<java.version>11</java.version>
<spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
</properties>
11
霍克斯顿释放