入门指南
Resilience4J 实现有两个启动器,一个用于响应式应用程序,另一个用于非响应式应用程序。
-
org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j
- 非响应式应用程序 -
org.springframework.cloud:spring-cloud-starter-circuitbreaker-reactor-resilience4j
- 响应式应用程序
自动配置
你可以通过将 spring.cloud.circuitbreaker.resilience4j.enabled
设置为 false
来禁用 Resilience4J 的自动配置。