如何使用SpringCloud的Hystrix组件
3 月,跳不动了?>>> Circuit Breaker解决方案Spring Cloud Hystrix组件。 以 2.2.0.release 为例,教你如何入门该组件。 核心概念 hystrix:就是一般所说的断路器组件 hystrix-dashboard:断路器监控统计展示面板组件 turbine:多节点的断路器统计数据合并展示组件,一般用于集群场景 引入的jar包 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-turbine</artifactId> </dependency>