Spring Cloud 最新版使用 Hystrix DashBoard 问题解决
Hystrix报错:Unable to connect to Command Metric Stream检查了pom文件 和启动类的注释都没有问题 后来发现是springboot版本的问题,版本1.5之前是不需要进行配置的 但是2.x之后是需要对Hystrix进行配置的。在hystrix-service的启动类中添加/** *此配置是为了服务监控而配置,与服务容错本身无关,springcloud升级后的坑 *ServletRegistrationBean因为springbo
原创
2020-10-28 10:05:57 ·
1163 阅读 ·
2 评论