Resilience4j Circuit Breaker States

Resilience4j Circuit Breaker States A lifecycle diagram generated by Archify. 01 / Healthy 02 / Waiting + Protecting 03 / Manual CLOSED · calls pass · Healthy 01 CLOSED calls pass Threshold hit? · failure / slow rate · Healthy 02 Threshold hit? failure / slow rate OPEN · fail fast · Healthy 03 OPEN fail fast HALF_OPEN · trial calls · Healthy 04 HALF_OPEN trial calls CLOSED again · recovered · Healthy 05 CLOSED again recovered Fallback · cache, default · Waiting Fallback cache, default Trial failed · reopen · Protecting Trial failed reopen FORCED_OPEN · ops override · Manual FORCED_OPEN ops override Legend start active state waiting decision terminal success failure / exit neutral

Fail fast

  • • Protect callers and the struggling dependency

Self-healing

  • • Trial calls decide when to close
© 2026 Samir Kumar Sahoo. All rights reserved.