-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[question] HystrixGatewayFilterFactory retry #551
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
Comments
Do you want to retry a request when Hystrix times out? |
emmmmmm.....yes |
Generally, we recommend retry within the circuit rather than outside. |
Spring cloud gateway Is it possible to configure the Ribbon to retry, and if so, what should I do? |
Gateway doesn't use ribbon for retry. See http://cloud.spring.io/spring-cloud-static/Finchley.SR1/multi/multi__gatewayfilter_factories.html#_retry_gatewayfilter_factory |
Thank you for your busy schedule to reply to me, because we did not find a timeout setting in the RetryGatewayFilterFactory provided by spring cloud gateway, we did not use it. |
Retry does not have a timeout associated with it. |
@spencergibb How to implement retry before triggering hystrix? com.netflix.hystrix.exception.HystrixRuntimeException: fallbackcmd failed and fallback disabled. Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /172.16.0.1:7103 Caused by: java.net.ConnectException: Connection refused |
Using the retry filter
|
Put hystrix before retry |
Thank you, I didn't think about the reason for the loading order. |
Closing as answered |
Question
HystrixGatewayFilterFactory with RetryGatewayFilterFactory Is it possible to retry the service on the basis of Hystrix, or how to retry the service on the gateway?
The text was updated successfully, but these errors were encountered: