Questions tagged [netflix-ribbon]

Ribbon is a Inter Process Communication (remote procedure calls) library with built in software load balancers. The primary usage model involves REST calls with various serialization scheme support.

238 questions
0
votes
0 answers

Can we customize or configure RPC or method call in place of endpoint(URL) for Netflix Ribbon or Spring Cloud Gateway?

In my project requirement, We need to distribute the load between two different micro services but call of the two microservices are not based on the endpoint(URL) but it is calling via it's SDK-Client. Can we customize either of Netflix ribbon or…
0
votes
0 answers

Dynamic timeout for each api in spring eureka

I am facing timeout problem while downloading excel reports from my web application. The application is follows microservices archtecture build using spring-cloud. The Api timed out as i had set the ribbon timeout to ribbon.ReadTimeout=…
Vikram Saini
  • 2,713
  • 1
  • 16
  • 33
0
votes
0 answers

Is there any way to configure the traffic load distribution based on percentage value

We have two micro services Say Service MS-AA & MS-BB and we have configured the load as 10% for MS-AA & 90% for MS-BB from a third microservice-XYZ Does Netflix Ribbon can solve my problem? If yes how to configure two services based on TPS…
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…
0
votes
1 answer

ZUUL API GATEWAY RIBBONCLIENT REQUEST ERROR

l am trying to set an API Gateway for Microservices by using zuul api,eureka server, docker and docker compose. l have a client like that. @SpringBootApplication @EnableFeignClients("com.microService.movieServerClient") @EnableDiscoveryClient public…
0
votes
1 answer

Custom AOP spring boot annotation with ribbon client blocking api call with return "1"

I have really poor experience with ribbon/eureka so forgive me if this is a stupid question: I have two different microservice both connected to a discovery server, the first one calls the second using a custom annotation that sends a request using…
Peo
  • 25
  • 3
0
votes
1 answer

Spring Cloud - Use @LoadBalaneced RestTemplate in Zuul

I have a common Spring Cloud architecture in my project: eureka for service discovery, zuul as a reverse proxy and some microservices. I want to be able to access the microservices from zuul programatically. As zuul is backed by Ribbon I just wanted…
Garuno
  • 1,935
  • 1
  • 9
  • 20
0
votes
1 answer

Using Netflix Ribbon without Spring Boot in Legacy Application

I work at an application which is using Apache Mina as SFTP Server. The application itself is started as jar and sends rest requests to our backend. I now want to use Netflix Ribbon without turning the whole application into a spring boot project or…
MDienel
  • 1
  • 2
0
votes
1 answer

RestTemplate getForEntity method throws null pointer exception

I am using RestTemplate with Ribbon Client @LoadBalanced. When I am calling my service - time-service(logical identifier) using Discovery Server, which is running on two instances, it is throwing null pointer exception. My two instances of…
0
votes
1 answer

How to remove Ribbon from Spring cloud Gateway

Currently I am using Ribbon with Spring cloud gateway for load balancing (I am not using a discovery server for this and have provided a set of IP addresses to Ribbon). But since Ribbon's days are numbered I am willing to use Spring Cloud…
tnishada
  • 1,315
  • 1
  • 16
  • 24
0
votes
1 answer

OAuth2RestTemplate with Ribbon + Eureka

I am working on microservices with Spring Cloud and Netflix OSS Eureka and Ribbon. I have another service running as oauth-server which provides OAuth2 token. All my microservices are registered with Eureka including oauth-server. My whole solution…
0
votes
1 answer

Polyglot and Client Side Load Balancing

With the Cloud Foundry Feature, "Polyglot" for integrated Service Discovery and direct communication between service containers through the internal routes, How does the Load Balancing work? Is Cloud Foundry taking care of the Load Balancing? Is…
Sabari
  • 127
  • 1
  • 13
0
votes
1 answer

Change port number in netflix ribbon

I have two services. One runs on port 8001 and it registered in eureka server, other runs on port 8002, and doesn't exist in eureka. I want to change port 8001 to 8002 in my local ribbon client. I have created public class LocalProxy
0
votes
1 answer

Why can't the load balancer find needed microservice using eureka?

The clientui serves webpages, using data from the 3 microservices. I succesfully setted up ribbon to load balance between 2 instances of "microservice-produits". It works when i have this line…
xpz
  • 268
  • 2
  • 9
0
votes
0 answers

Zuul Exception, Hystrix readed timeout

com.netflix.zuul.exception.ZuulException: at org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter.findZuulException(SendErrorFilter.java:118) ~[spring-cloud-netflix-zuul-2.2.1.RELEASE.jar:2.2.1.RELEASE] at…