我正在尝试使用Netflix eureka服务发现和hystrix断路器构建简单的Spring Cloud应用程序。断路器服务:@EnableCircuitBreaker@SpringBootApplication@EnableEurekaClientpublic class PluralsightEurekaFastpassConsoleApplication { public static void main(String[] args) { SpringApplication.run(PluralsightEurekaFastpassConsoleApplication.class, args); }}pom.xml<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <spring-cloud.version>Finchley.RELEASE</spring-cloud.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>hystrix仪表板 控制台日志2018-07-04 20:15:25.051信息17516-[nio-8088-exec-1] ashboardConfiguration $ ProxyStreamServlet:代理打开到以下地址的连接:http:// localhost:8088 / actuator / hystrix.stream 2018-07- 04 20:15:25.052信息17516-[nio-8088-exec-6] ashboardConfiguration $ ProxyStreamServlet:代理打开到以下地址的连接:http:// localhost:8088 / actuator / hystrix.stream 2018-07-04 20:15 :25.058 WARN 17516 --- [nio-8088-exec-1] ashboardConfiguration $ ProxyStreamServlet:无法打开与http:// localhost:8088 / actuator / hystrix.stream的连接:404:HTTP / 1.1 404 2018-07-04 20 :15:25.058 WARN 17516 --- [nio-8088-exec-6] ashboardConfiguration $ ProxyStreamServlet:无法打开与http:// localhost:8088 / actuator / hystrix.stream的连接 :404:HTTP / 1.1 404我尝试 无法使用Spring Cloud连接到Hystrix仪表板的Command Metric Stream但是问题仍然存在。
添加回答
举报
0/150
提交
取消