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
1 answer

Swagger Springfox configuration loads before Spring Boot Config

I have several microservices and all of them are registered in Eureka (Discovery Client). Recently I have enabled Swagger2 (SpringFox) for all the microservices. As soon as I enabled swagger my microservices started registering to Eureka as…
zeagord
  • 2,257
  • 3
  • 17
  • 24
0
votes
1 answer

spring-cloud - Hystrix Stream with just Ribbon

With spring-boot-starter-actuator in a web application, where Ribbon/Feign Clients are used, hystrix stream/ endpoint is not enabled. HystrixCircuitBreakerConfiguration.HystrixWebConfiguration is not activated even with the conditions being…
Ahamed Mustafa M
  • 3,069
  • 1
  • 24
  • 34
0
votes
0 answers

Request scoped beans in SpringClientFactory AppContext's

I am using a SpringClientFactory to create a Ribbon client with a custom com.netflix.niws.client.http.RestClient. This RestClient is wired with a @Bean that is request scoped (that is, @Scope("request")). This is all done as a part of the Brixton…
nicholas.hauschild
  • 42,483
  • 9
  • 127
  • 120
0
votes
0 answers

How to enable/disable ribbon load balancing depending on http response code?

Using netflix ribbon sometimes you do not want to load-balance, for example you do not want loadbalancing if response code is 404, but for 503 you do want that. Now the question is how to configure ribbon to setup rules like I mentioned above?
Keyhan
  • 2,370
  • 2
  • 19
  • 22
0
votes
0 answers

spring cloud, zuul proxy and ribbon healthcheck issue without eureka

I have configured my zuul proxy to work with multiple instance of my microservice . The only thing that i have done is adding ribbon.listOfServers keyword to my configuration. It is working fine with round robin policy. But when i shutdown one of…
0
votes
1 answer

spring cloud + ribbon + feign + zuul + eureka

How to loadbalance micro services via Ribbon (Not feign). I have 3 micro services "M1", "M2" and "M2_duplication", "M1" is communicating with "M2" via feign. I want if "M2" get too much traffic, the requests will be forwarded to the…
0
votes
0 answers

Need help in configuration zuul + ribbon

I need help with configuring Ribbon (load balancing) via Spring Boot with Zuul. Below you can find my configuration. Initially I would share my current architecture and what I want to reach: I have one node with gateway (Spring boot + zuul +…
b3lowster
  • 415
  • 1
  • 6
  • 18
0
votes
1 answer

Getting connections stats for circuits on Spring cloud zuul

I am running a few micro service instances that are functioning as edge routers and have the @EnableZuulProxy annotation. I have written a number of filters and these control the flow of requests into the system. What I would like to do is get the…
EvilJinious1
  • 2,773
  • 6
  • 43
  • 63
0
votes
1 answer

Spring Cloud: Missing Server Instance using Ribbon and Feign Client (but not Eureka)

I am trying to use @FeignClient for the first time in a simple REST client test application. I want to make use of Ribbon for the load balancing between two server instances, but not use Eureka. Following the documentation I have configured my…
RobP
  • 706
  • 1
  • 8
  • 20
0
votes
0 answers

Spring Cloud Ribbon Raise Error when using RestTemplate

I am facing a problem when Trying to user Ribbon for retrieve information from a microservice B to my microservice A. I am using spring cloud Brixton.M4, here is my build.gradle file: buildscript { ext { grailsVersion =…
-1
votes
1 answer

Getting zuul forwarding error.Connected all services with eureka

Zuul->application.properties spring.application.name=zuul-api-gateway server.port=6060 eureka.client.service-url.defaultZone =…
-1
votes
1 answer

Difference between Kafka and load balancer (Ribbon)

I am new to Kafka. I have existing microservice with spring-boot, ribbon, eruka, and zuul. If I use Kafka as the messaging platform between each microservice call, does kafka provide load balancer for microservice and I can get rid of ribbon…
xibrian
  • 85
  • 2
  • 12
-1
votes
3 answers

Forwarding error with Spring Cloud Zuul

I'm using Eureka as a registry server where Zuul is being registered registered additionally to my application module cmpnyhbaseserialser. However, when I make a POST request I get the following error: Forwarding…
gongzh
  • 1
  • 1
  • 1
1 2 3
15
16