How to disable Hystrix while using Sentinel
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
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:
org.springframework.boot
spring-boot-starter-parent
2.3.8.RELEASE
org.springframework.cloud
spring-cloud-dependencies
Hoxton.SR10
If I exclude those Hystrix dependencies, the application will throw exception. How to disable Hystrix while using Sentinel?
Contributor guide
Research direction
Start by examining SentinelCircuitBreakerConfiguration and HystrixCircuitBreakerConfiguration with the reported Spring Boot 2.3.8.RELEASE and Spring Cloud Hoxton.SR10 versions. Reproduce the dependency-exclusion failure and trace the conditional configuration behavior; done means identifying a supported way to run Sentinel without Hystrix or clearly documenting the incompatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100