hodeh
hodeh
alright , so I had to include spring-retry and spring-aop dependencies and then annotate the zuul app with @EnableRetry doing that along with above configurations worked for me , enable...
@spencergibb I tried to use this ``` @RibbonClients(defaultConfiguration = RibbonHAConfig.class) @Configuration public class RibbonHAConfig { @Bean public RetryHandler retryHandler(IClientConfig config) { return new CustomHaRetryHandler(config); } } ``` but it is...
@ryanjbaxter thanks that comment in the test project you shared solved the problem ``` // Exclude @Configuration classes that should be included only in sub contexts created // by Ribbon's...
I enabled retry and by default Zuul was retrying on next servers if a read time out happened, this is a case where I don't want to retry requests after...
java.net.ConnectException is the only exception i would it to be retried on next severs. i want to exclude the SocketTimeoutException from being retried
Thanks a million, that worked for me a custom LoadBalancedRetryPolicyFactory, that builds a custom LoadBalancedRetryPolicy which extends a RibbonLoadBalancedRetryPolicy with an overriden canRetry()
a really great feature , but I have a question. in application-dev.yml / application-test.yml /application-prod.yml I want to include configurations for the infrastructure so I dont repeat it in each...
@ryanjbaxter I have a concern that might not be valid, the client (Spring Boot Service) may complain if it found configs for a library that it is not found on...
@marcingrzejszczak yes I am :) what release train/spring boot version do you recommend me to use in applications that are using zuul ? in order for this not to happen?
@marcingrzejszczak thanks a lot for ur feedback, question are u aware if this also effects previous versions of spring cloud like Camden.SR2, or previous versions of sleuth ?