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.
Questions tagged [netflix-ribbon]
238 questions
0
votes
0 answers
Intercepting requests in spring
I have my service layer 'S' calling data layer 'D_OLD'. Now I am upgrading my D_OLD database version to D_NEW. But I want to test stability for a few days and if not stable, I want to rollback. But if I rollback, I must be able to replay all the…

Renjith
- 3,274
- 19
- 39
0
votes
1 answer
Zuul + Ribbon Retry - maxAutoRetries not working, only retries once
I've been tinkering with this for a while and I can't figure out why my ribbon retry is only retrying once. I have a node server server running at localhost:9080 and I see the requests come in. I have it set to return 200 one out of every 3…

tatr2066
- 23
- 4
0
votes
2 answers
Jersey Not Defined in Spring Cloud Edgware
I upgraded one of our Spring Boot services from looking like this in the POMs:
org.springframework.boot
spring-boot-starter-parent
1.5.5.RELEASE
…

Charles B
- 77
- 2
- 7
0
votes
0 answers
separate ribbon configuration for each rest template loadbalance in spring cloud
How to provide separate ribbon configuration for separate rest template?
I know in Feign client we can have separate configuration ,but how we will have separate configuration for separate rest template.
For example :There are 2 services (A) and (B)…

Ankush Nakaskar
- 121
- 1
- 2
- 8
0
votes
1 answer
How to make Eureka really work on Cloud Foundry (cf)?
In cloud foundry all apps are accessible via cloud foundry load balancers.
Each load balancer has an url under which to call the app.
Even though there is a hidden way (e.g. X-CF-APP-INSTANCE),
it is not meant to call an app instance…

Josros
- 1
- 1
0
votes
1 answer
Feign Ribbon client wait and retry
I am using Feign Ribbon client to talk to a service.
I have a client that fails immediately after configured maxAutoRetries in ribbon. Is there a property in feign or ribbon like "wait and retry" which can wait for configured time and retry.

Pradeep
- 850
- 2
- 14
- 27
0
votes
1 answer
Spring Ribbon RestTemplate - Mix Eureka and Real URLs
I have a need to mix calls to a Spring Rest Template using either a Eureka-compliant service name (example-service-name) or a real url (http://my-url.com).
The Eureka-friendly URLs work fine, as Ribbon can look them up without issue. Obviously real…

JHarnach
- 3,944
- 7
- 43
- 48
0
votes
2 answers
Spring Ribbon @LoadBalanced doesn't work with @scope("prototype") for restTemplate
I'm following the official spring ribbon guide, and I noticed one thing.
If a RestTemplate is being created in this way :
@LoadBalanced
@Bean
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) ---- I added this line
RestTemplate restTemplate(){
…

David Han
- 43
- 7
0
votes
0 answers
IClientConfig ribbon doesn't read properties from application.properties
I created IClientConfig
@Bean
public IClientConfig ribbonClientConfig() {
final DefaultClientConfigImpl config =
DefaultClientConfigImpl.getClientConfigWithDefaultValues("my-service", "ribbon");
return config;
}
And I have in…

Иван Гладуш
- 612
- 12
- 27
0
votes
0 answers
Ribbon doesn't see property
I'm using ribbon and eureka and I want add the following property:
my-service.ribbon.ServerListRefreshInterval
However, the default context doesn't see this property. I'm using ribbon as a loadBalancer. Currently I fixed it by using:
…

Иван Гладуш
- 612
- 12
- 27
0
votes
2 answers
Failure while calling a microservice via ribbon enabled client(Without eureka service discovery)
I am trying to call a 'microservice'(microservice-producer) via ribbon enabled the client(ribbon-client) but it is giving me an error.
java.lang.IllegalStateException: No instances available for employee-microservice
I am following the official…

Vicky
- 1,135
- 1
- 17
- 37
0
votes
1 answer
Ribbon- Calling a specific uri of an application from urls obtained from Eureka
Lets consider the following situation.This example will only have urls containing localhost. I have a zuul proxy setup and lets say its running on port 8080. So
Zuul proxy-
localhost:8080
I have an eureka server setup running on port 81.
…

Indraneel Bende
- 3,196
- 4
- 24
- 36
0
votes
1 answer
Ribbon With Eureka in Spring Boot
I want to know about the flow of working on Eureka and Ribbon together.
a) When ribbon is used without eureka, it keeps serverList. But while using eureka,it fetches the serverList from Eureka. But when does ribbon fetches this data? on start-up or…

Ankit Bansal
- 2,162
- 8
- 42
- 79
0
votes
0 answers
How to track which server was chosen by Spring Cloud Netflix Ribbon (in Zuul)
I am developing a specialized, dynamic Web application router using Spring Netflix Eureka, Zuul, and Ribbon. I need to know what server was chosen by the Ribbon load balancer from the pool of servers registered with a given service id in Eureka for…

psparago
- 1,113
- 11
- 21
0
votes
1 answer
Hystrix to open circuit for problematic service instances?
Assume the following scenario:
I have ServiceA calling ServiceB with Hystrix enabled
There are 2 instances of ServiceB
One of the instances is facing some pretty serious issues where its endpoint is consistently throwing errors, but the other…

feicipet
- 934
- 2
- 8
- 21