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
1
vote
1 answer
what is the uses of IClientConfig parameter?
when I look at the implementation of RibbonConfig in demos around the web, I notice they always use the IClientConfig config parameter, but they never actually use it. For example:
@Autowired
IClientConfig ribbonClientConfig;
@Bean
public IRule…

Kuge4399
- 69
- 1
- 8
1
vote
1 answer
Registering Zuul on Eureka in Kubernetes cluster
I have a Kubernetes cluster on Linux with one master node and two slave nodes. I have installed & created services for a eureka-server and Zuul with multiple replicas which are accessible by NodePorts. In order to enable load balancing, we need to…

Aditya Datta
- 567
- 2
- 7
- 17
1
vote
1 answer
Spring boot micro service architecture find number of instances of service
I am trying to set up micro service architecture using spring boot. I have created it by separating the components and using techniques like ribbon, eureka naming server, zuul API etc.
service1 reading inputs from a db and calling service2 through…

din_oops
- 698
- 1
- 9
- 27
1
vote
2 answers
Not able to set timeout for ribbon and hyxtrix
I'm trying to set in application.yml the properties to set the timeout for ribbon and hystrix and I'm not able to do that. I'm always getting the same issues:
"Unknown property hystrix.command" and
"Unknown property ribbon.ConnectTimeout"
hystrix:
…

hector s.
- 126
- 2
- 9
1
vote
1 answer
Spring Eureka Ribbon method executed twice
I'm encountering a really weird issue with my Spring boot application(s).
I'm working on a microservice app with Eureka/Ribbon for services discovery, the app is a stat generator providing an API for csv upload and linked to a database for data…

raik
- 33
- 2
- 13
1
vote
1 answer
Hystrix default timeout not work
set default timeout like this
hystrix:
threadpool:
default:
coreSize: 500
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
command:
default:
execution:
isolation:
thread:
…

Ricky Wu
- 163
- 1
- 2
- 16
1
vote
1 answer
Connection refused can not use retry when use ribbon
info:
spring-cloud.version=Dalston.SR5
spring-boot-starter-parent=1.5.7.RELEASE
zuul-core=1.3.0
When one client's status is down(I mean kill it),but zuul can also have cache of instance info, so request will route to down client, but can't have a…

Hope Dc
- 11
- 3
1
vote
1 answer
Is it possible to define a static server list with ribbon (via feign) when Eureka is in use?
Environment
Spring Boot 1.5.13.RELEASE
Spring Cloud Edgware.SR3
Java 8
Configuration
Eureka client is enabled and working correctly (I have tested and everything's working as I expect).
Some relevant properties from my…

David
- 7,652
- 21
- 60
- 98
1
vote
3 answers
How to get the hostname of the server to which a request will be forwarded to in zuul/ribbon
I'm currently using Zuul and Ribbon as a reverse proxy and load balancer respectively. I'm also using Eureka as service discovery. I have more than one instance of a service in Eureka, and I want to know the hostname of the server chosen by Ribbon.…

Fábio Pina
- 63
- 10
1
vote
1 answer
Could not perform RPC via Ribbon(and Eureka)
I am trying to write helloworld application using micro servise technique. In more details - I use spring cloud.
My hello world application interacts like this:
hello_service has single rest method:
@GetMapping("/hello")
public String…

gstackoverflow
- 36,709
- 117
- 359
- 710
1
vote
1 answer
Client side load balancing (Ribbon) and Service Discovery (Eureka) on PaaS cloud (PCF)
Currently we deploy our application to Pivotal Cloud Foundry (PCF), which operates in a Platform as a Service (PaaS) model.
It means whenever we deploy an app to PCF, PCF automatically (apart from the other actions it does) sets up a load balancer…

Adam Siemion
- 15,569
- 7
- 58
- 92
1
vote
0 answers
Enabling zuul retry breaks Eureka routing on PCF
I'm trying to enable retry capability within a Zuul gateway, and am able to get things working locally, but when I deploy the gateway to PCF, I get the following error when zuul.retryable=true:
{
"timestamp": 1524669167094,
"status": 500,
…

Jeff
- 3,307
- 2
- 25
- 36
1
vote
1 answer
How to know the host with ribbon?
I have an application with eureka, ribbon and feign. I have a feign RequestInterceptor, but the problem is that I need to know which is the host where I'm making the call. So far, with my current code I just can get the path with the…

nole
- 1,422
- 4
- 20
- 32
1
vote
1 answer
Testing Hystrix fallback through Feign API: com.netflix.client.ClientException: Load balancer does not have available server for client
When testing the Hystrix fallback behavior of my Feign API, I get an error, when I expect it to succeed.
Feign interface:
This is the api to the external service.
@FeignClient(name = "book", fallback = BookAPI.BookAPIFallback.class)
public interface…

Eric J Turley
- 350
- 1
- 5
- 20
1
vote
1 answer
Ribbon Retry properties not respected
I have a zuul gateway application, that receives requests from a client app and forwards the requests using load balanced rest template to a micro service with 2 endpoints, say endpoint1 and endpoint2 (load balancing between the two end points in…

Satya
- 1,037
- 3
- 15
- 34