-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do HttpExchange interfaces support exponential backoff and fallbacks? #33084
Comments
I have discussed this with @OlgaMaciaszek and she will provide some feedback here. We'll then decide what to do about this issue. |
Will get back on this here today or tomorrow. |
Thanks @UditMishraMoodys. In order to make it work OOTB, additional integration with Spring Cloud CircuitBreaker will be needed that has not been implemented yet. This is something that will need to be addressed in Spring Cloud, since it'll require access to SC CircuitBreaker dependencies. I have created an issue for it in Spring Cloud Circuit Breaker: spring-cloud/spring-cloud-circuitbreaker#186. |
Thanks Olga for the analysis. I'm closing this issue for now as superseded by the Circuit Breaker one. We can reopen this issue if something needs to be done in Framework to support this case. |
Hi @UditMishraMoodys, you can use Spring Retry w/ HttpExchange see HttpExchangeTest.kt if the client is a Spring Bean. |
We were using OpenFeign in our project and it worked well. We have exponential retries configured and we also have fallbacks and fallback factories defined.
Recently, we stumbled upon Spring Cloud OpenFeign doc page which says that this is now feature complete and suggest migrating over to Spring Interface Clients instead.
I read the documentation of Spring Interface Clients but it does not clearly explain about -
The text was updated successfully, but these errors were encountered: