More than one implementation of @EnableCircuitBreaker (now relying on @conditionals to pick one): [com.alibaba.cloud.sentinel.custom.SentinelCircuitBreakerConfiguration, org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration]
The version of spring boot and cloud:
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.8.RELEASE</version>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR10</version>
If I exclude those Hystrix dependencies, the application will throw exception. How to disable Hystrix while using Sentinel?
2条答案
按热度按时间nhhxz33t1#
Hi, you may submit an issue in https://github.com/alibaba/spring-cloud-alibaba
scyqe7ek2#
use @SpringBootApplication and @EnableDiscoveryClient replace the @SpringCloudApplication.