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
1
vote
0 answers

how does zuul work without eureka and ribbon for dynamic destination from kubernetes

I am a beginner of using Zuul. I would like to create a http proxy for dynamic destination (ip address) from kubernetes. I checked Can Zuul Edge Server be used without Eureka / Ribbon which is helpful, but I don't want to specify…
HAO
  • 85
  • 8
1
vote
2 answers

Can i use Eureka Client and Ribbon with spring 3.1 to access other microservice registered using Eureka?

I am having spring 3.1 based web application and i want to write new module as a microservice with spring-boot. I am new to this microservice world, so I have few doubts regarding communication between these two services. I am thinking to use…
ManojP
  • 6,113
  • 2
  • 37
  • 49
1
vote
1 answer

Separate scalabilty concerns from services

I use Spring RestTemplate to consume other services in my local environment. In production env for scalabilty i want to use a service registry like eureka and ribbon client. I want to have a clean separation of my code from eureka and ribbon client…
1
vote
2 answers

Load Balancing in Spring Cloud / Netflix OSS

I am looking at Spring Boot / Cloud and Netflix FWs (Eureka, Ribbon). I am working through this example: https://spring.io/blog/2015/07/14/microservices-with-spring Basically it is about some small Spring Boot microservices that use the Eureka…
1
vote
1 answer

service to service communication through Resttemplate with Spring cloud(Oauth 2)

Hi I am trying to call a spring boot service from a different service through Rest-template. i am using consul as service discovery now Service1-->rest-->Service2 I dont want this communication through Zuul service1 should be able to call service2…
1
vote
1 answer

Spring Cloud Sidecar load balancing does not retry on failure

I have the following setup: Spring Cloud Eureka Server (Spring Boot app with @EnableEurekaServer) Spring Cloud Sidecar (running on :8080) 2 instances of the same Spring Boot app properly registered against Eureka (@EnableEurekaClient) and exposing…
1
vote
1 answer

Netflix Ribbon and Polling for Server List

I'm currently trying out the Netflix Ribbon library and I'm trying to dynamically update a list of available endpoints to load balance. I've successfully created a httpResourceGroup that uses a configuration based server list,…
Jon Morgan
  • 31
  • 4
1
vote
1 answer

Spring Cloud Netflix - how to access Eureka/Ribbon from traditional web app?

Everything I found on the internet about Spring Cloud Netflix is about running microservices from Boot applications using @EnableEurekaClients and so on. Now I'm trying to connect my logging microservice within a traditional war application…
Oleg Chirukhin
  • 970
  • 2
  • 7
  • 22
1
vote
0 answers

spring cloud ribbon client to connect to ssl

I am using Spring Cloud, and RestTemplate to connect to micro services using SSL. When I do: restTemplate.exchange("https://myservice/properties", HttpMethod.GET,null, String.class) it is using RibbonClientHttpRequestFactory. I got:…
blindstack
  • 251
  • 3
  • 10
0
votes
1 answer

How can we implement client-side load balancing with reactive netty?

My microservice is required to direct requests between 2 different servers via TCP connection. Using the current TCPClient, we are required to provide the host & port numbers which means that I can connect to one…
roroWorld
  • 3
  • 3
0
votes
0 answers

Is there a solution if a ribbon client-side load balancing is down?

Based on my understanding of load-balancing, requests are forwarded to multiple instances of a service so that if one service is down, it will be redirected to one that is available. I have created a microservice that implements load-balancing like…
0
votes
1 answer

RibbonClient is not working. Field required a bean of type that could not be found

Error : Field proxy in com.project.currencyconversionservice.CurrencyConversionController required a bean of type 'com.project.currencyconversionservice.CurrencyExchangeServiceProxy' that could not be found. Main…
0
votes
0 answers

the property ribbon.PoolMaxThreads doesn't work?

1.what does ribbon.PoolMaxThreads mean? it means ribbon has its own thread pools? 2.whether ribbon.PoolMaxThreads configure hystrix's thread pool? I use zuul1 as the API Gateway of my application, and the default isolationstrategy is SEMAPHORE. In…
0
votes
1 answer

How to specify Ribbon Configuration for a specific Feign client in a Spring Boot project having multiple Feign clients?

I have a spring boot project which is having two Feign Client's. First Feign client (i.e. ServiceAProxy.class below), which will work on Service Discovery using Eureka or Consul. @FeignClient(name="service-A") public interface ServiceAProxy{ …
0
votes
1 answer

required a bean of type 'org.springframework.cloud.netflix.ribbon.SpringClientFactory' that could not be found

I have this test project which I would like to migrate to more recent version: @Configuration public class LoadbalancerConfig extends RibbonLoadBalancerClient { public LoadbalancerConfig(SpringClientFactory clientFactory) { …
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808