Vladimir Todorović
Vladimir Todorović
I am using Spring Boot 2.6.11, Spring Cloud 2021.0.8 and have same problem. I have two Eureka servers and if one instance down (defined as first URL) then appliction can't...
I tested same scenario with Spring Boot 3.1.4 and Spring Cloud 2022.0.4. First test case: client app uses two Eureka URL-s; Eureka instance for first URL is not available ->...
I found workaround for this problem with custom BootstrapRegistryInitializer class based on org.springframework.cloud.netflix.eureka.config.EurekaConfigServerBootstrapper. Custom initializer class must be defined in META-INF/spring.factories file. Custom initializer uses com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient. In this implementation, I...