Questions tagged [spring-cloud-loadbalancer]
50 questions
0
votes
1 answer
Spring Cloud Load Balancer - Custom Load Balancer Client config through Java
Specifying custom configuration for load balanced services is possible through the use the "LoadBalancerClient" & "LoadBalancerClients" annotations as illustrated…

AnR
- 1
- 2
0
votes
1 answer
how to do client side load balancing in spring integration
we can add client-side load balancing in spring boot applications by,
@Bean
@LoadBalanced
public RestTemplate restTemplate() {
final RestTemplate restTemplate = new RestTemplate();
return restTemplate;
}
This will take…

Sanal M
- 187
- 4
- 17
0
votes
1 answer
Deployment Context Based Vip Address in Spring Cloud Load Balancer
We are looking to of move to Spring Cloud Load Balancer to replace Ribbon. We use Eureka for service discovery and registration.
It looks like as of Spring Cloud Netflix 3.x, the EurekaRibbonClientConfiguration in the Eureka client module has been…

xenobc
- 1
- 1
0
votes
0 answers
Spring Cloud LoadBalancerClient - Hoxton SR8 - throwing error
Previously were using Spring cloud Finchley.M9 release. We used LoadBalancerClient as like below.
'''import java.net.URI;
import java.util.Objects;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import…

KLN
- 11
- 5
-1
votes
1 answer
Sticky session loadbalancing in spring Microservices
I am new to Spring and trying to do a proof-of-concept on the sticky session loadbalancing (I am using Eureka for service discovery, Spring Cloud Gateway and Spring Cloud Loadbalancer, its working in round-robin fashion now). I am unable to achieve…

TheCoder
- 41
- 5