Retry and Circuit Breaker
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Service A has two instances, A1 and A2, both successfully registered in Nacos. Instance A1 consistently returns failure for unknown reasons, and A2 also returns failure. When a request comes in and is sent to A1, A1 fails. It is then retried to A2, and the failure result is sent to the circuit breaker (recorded as one failure). The retry process happens inside a black box, so the circuit breaker only sees the final result after retrying. I want to implement a circuit breaker that triggers after 5 failures (each request includes one retry). I’ve tried many approaches, but once the circuit breaker is added, the retry mechanism becomes ineffective. My question is: Does the Gateway’s filters support having both - name: Retry and - name: CircuitBreaker simultaneously?
Thank you in advance for your help, I would be extremely grateful if an expert could assist.