api-breaker
Whenever the Upstream service responds with a status code from the configured unhealthy.http_statuses
list for the configured unhealthy.failures
number of times, the Upstream service will be considered unhealthy.
In an unhealthy state, if the Upstream service responds with a status code from the configured list healthy.http_statuses
for healthy.successes
times, the service is considered healthy again.
In this configuration, a response code of 500 or 503 three times in a row triggers the unhealthy status of the Upstream service. A response code of 200 restores its healthy status.
To disable the api-breaker
Plugin, you can delete the corresponding JSON configuration from the Plugin configuration. APISIX will automatically reload and you do not have to restart for this to take effect.