Open, Closed, and Half-Open States: The circuit breaker has three states:?
- Closed: Requests pass through normally.
- Open: Requests are blocked, and fallback logic is applied.
- Half-Open: After a timeout, a few test requests are sent to determine if
the service has recovered.