在项目中引入:引入hystrix依赖,如下
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency>
以上是针对cloud Finchley.SR2 版本,不同版本 artifactId 有所不同。
在项目中引入:引入hystrix依赖,如下
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency>
以上是针对cloud Finchley.SR2 版本,不同版本 artifactId 有所不同。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。