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
Example that reproduces the problem uploaded to Github
Full description of the issue provided (see below)
Steps to Reproduce
Documentation on Retry states:
The simplest form of retry is just to add the @retryable annotation to a type or method. The default behaviour of @retryable is to retry three times with an exponential delay of one second between each retry.
Note also that the @retryable annotation can be applied on interfaces
I see that ConsulOperations.readValues method has @retryable annotation:
This method is used in ConsulConfigurationClient to fetch configuration values from Consul so I assume that retry pattern should be used here (3 attempts by default). However if HTTP client error happened (for example, "Connection refused") retry is not invoked (and DefaultRetryInterceptor is not called). It doesn't happen either if I add explicit retry configuration in bootstrap.yml:
Task List
Steps to Reproduce
Documentation on Retry states:
I see that ConsulOperations.readValues method has @retryable annotation:
This method is used in ConsulConfigurationClient to fetch configuration values from Consul so I assume that retry pattern should be used here (3 attempts by default). However if HTTP client error happened (for example, "Connection refused") retry is not invoked (and DefaultRetryInterceptor is not called). It doesn't happen either if I add explicit retry configuration in bootstrap.yml:
Expected Behaviour
If an operation to fetch configuration values from Consul failed it should be retried
Actual Behaviour
The operation to fetch configuration values from Consul is executed only once in any case.
Environment Information
The text was updated successfully, but these errors were encountered: