Does Fign retry some configuration?

I just tried performing a smooth service update in a test setup. The service is accessed by the Feign client. And naively, I got the impression that if there are several instances of the service, the client will repeat another instance if it was unable to connect to it.

However, this did not happen. But I can't find any mention of how Feign in Spring is supposed to have Cloud configured for this? Although I saw mention of its support (as opposed to using RestTemplate, where would you use something like Spring Retry?)

+3
source share
3 answers

, , ( "localapp" serviceid):

localapp.ribbon.MaxAutoRetries=5
localapp.ribbon.MaxAutoRetriesNextServer=5
localapp.ribbon.OkToRetryOnAllOperations=true
+2

All Articles