You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current logic treats all IOExceptions from a Client as something that is network related; however, not all of the Client implementations do so. For example, the ApacheHttpClient treat URISyntaxExceptions as IOExceptions, triggering a retry.
Also, all RequestMethods are treated the same. This can lead to retries of POST, PUT, and DELETE methods as outline in #719
Finally, the default Retryer implementation lacks the ability to control if the original exception should be thrown or not. This is called out #709 and #703.
I'd like to start a discussion around which of these the community feels is the most important and how we can go about updating Feign. Thoughts?
The text was updated successfully, but these errors were encountered:
I don't know why it is closed, #709 is about throw the actual exception. @holy12345 suggests to:
Have a parameter let clients decide which HttpStatus.
I think it is a good suggestion.
The current logic treats all
IOExceptions
from aClient
as something that is network related; however, not all of theClient
implementations do so. For example, theApacheHttpClient
treatURISyntaxException
s asIOExceptions
, triggering a retry.Also, all
RequestMethod
s are treated the same. This can lead to retries ofPOST
,PUT
, andDELETE
methods as outline in #719Finally, the default
Retryer
implementation lacks the ability to control if the original exception should be thrown or not. This is called out #709 and #703.I'd like to start a discussion around which of these the community feels is the most important and how we can go about updating
Feign
. Thoughts?The text was updated successfully, but these errors were encountered: