Load when adding @CircuitBreaker, @Retry, @Bulkhead, @RateLimiter, or @TimeLimiter from Resilience4j, configuring WebClient or RestClient with retry operators, writing fallback methods, handling CircuitBreakerOpenException or BulkheadFullException, configuring resilience4j in application.yml (slidingWindowType, failureRateThreshold, waitDurationInOpenState), or testing circuit breaker state transitions with @SpringBootTest.
<dependency>
<groupId>io.github.resilience4j</groupId>
<artifactId>resilience4j-spring-boot3</artifactId>
</dependency>
<!-- AOP required for annotations -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
Prevents cascading failures by short-circuiting calls to a failing dependency.