Spring / Resilience4j Interview questions
What are the core modules of Resilience4j?
Resilience4j is organized into a handful of focused modules, each one implementing a single resilience pattern that can be added to a project independently.
| Module | Purpose |
| CircuitBreaker | Stops calling a failing dependency for a cooldown period. |
| Retry | Re-executes a failed call a bounded number of times. |
| RateLimiter | Caps how many calls are permitted per time window. |
| Bulkhead | Limits concurrent calls so one dependency can't exhaust shared threads. |
| TimeLimiter | Cancels a call that runs past a configured duration. |
| Cache | Caches a call's result to skip repeat work. |
Beyond these core patterns, Resilience4j also offers integration modules - resilience4j-spring-boot3, resilience4j-micrometer, resilience4j-reactor, resilience4j-feign - that wire the core modules into a specific framework rather than adding new resilience behavior.
More Related questions...