Why it matters
Circuit breaker shapes reliability. Standard reliability pattern.
Advertisement
The architecture
Closed: normal.
Open: block calls, return fallback.
Half-open: try one.
Advertisement
How it works end to end
Resilience4j CircuitBreaker.
Threshold: failure rate + count.
Fallback: cached / default response.
Auto-recovery via half-open.