starsz commented on issue #6175:
URL: https://github.com/apache/apisix/issues/6175#issuecomment-1019481493
Hi, @davidwhf.
I think you should config the upstream (even if a bad upstream) so that it
can work well.
You can try this:
```
{
"plugins": {
"api-breaker": {
"break_response_code": 502,
"unhealthy": {
"http_statuses": [503],
"failures": 2
},
"healthy": {
"http_statuses": [200],
"successes": 1
}
}
},
"upstream": {
"type": "roundrobin",
"nodes": {
"127.0.0.1:3333": 1
}
},
"uri": "/test/*"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]