AWS Service registry for resilient mid-tier load balancing and failover.
Questions tagged [netflix-eureka]
1623 questions
20
votes
1 answer
How to route in between microservices using Spring Cloud & Netflix OSS
During our development of microservices using Spring Cloud, we started out using Zuul as a proxy for any connection from the outside to microservices, and for any microservice needing to contact another microservice.
After some time we made the…

Andreas Evers
- 252
- 2
- 10
19
votes
7 answers
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect in Spring Boot
I am developing code from http://www.javainuse.com/spring/spring-cloud-netflix-zuul-tutorial, no customization yet. I keep getting the error mentioned below. So, to avoid this error I added the following in application.properties…

Jeff Cook
- 7,956
- 36
- 115
- 186
18
votes
4 answers
Spring Cloud Eureka with Config Server
What is the recommended configuration when running both Config Server with Eureka Server? Should Config Server be a client of Eureka? Or should Eureka be dependent on Config Server properties for its configuration? Or is both OK?

Turar
- 1,511
- 5
- 17
- 27
17
votes
1 answer
Listening to Eureka events
I have an Eureka server running on a local machine. Eureka clients are registered to this server. I am able to view the eureka dashboard to see the instances registered.
Can I have an event listener on the server side that will be triggered when…

raiyan
- 821
- 6
- 15
17
votes
3 answers
Mock an Eureka Feign Client for Unittesting
i am using spring cloud's eureka and feign to communicate between some services (lets say A and B). Now id like to unittest my service layer of a single service (A). The problem is, that this service (A) is using a feign client to request some…

Kamil Szuster
- 195
- 1
- 1
- 10
17
votes
1 answer
Spring Cloud: Canary Deployments with Zuul
I am getting started with Spring Cloud using Eureka and Zuul and had some questions around structuring blue/green and Canary deployments. So far, I have the basics worked out and have Eureka, Zuul, and a config server working as expected. What I am…

Ryan J. McDonough
- 1,689
- 17
- 20
16
votes
1 answer
Load balancer does not have available server for client: meeting
While I am trying to reach the service meeting via Zuul gateway, Zuul is unable to forward the request to the respective service. The following errors are what I am facing:
nettflix.zuul.exception.ZuulException: Forwarding error
Caused by:…

bibliophilsagar
- 1,713
- 1
- 19
- 40
16
votes
1 answer
How should I configure Spring Cloud with Netflix Zuul and Eureka in a Docker contained in an EC2 instance
I am evaluating building microservices using Spring Boot and Spring Cloud (Zuul and Eureka) running in separate docker containers, deployed in separate Amazon EC2 instances.
I have a simple REST service that registers with Eureka, and have…

Rob
- 1,037
- 1
- 13
- 20
16
votes
7 answers
Ribbon with Spring Cloud and Eureka: java.lang.IllegalStateException: No instances available for Samarths-MacBook-Pro.local
I am working on Spring Boot Eureka Client Application with Ribbon Load Balancer.
I have two instances of the server registered with Eureka with the name "TEST". On the client side, I have the following code to fetch the server from…

Samarth
- 233
- 1
- 2
- 6
15
votes
1 answer
Disadvantages of using eureka for Service Discovery with kubernetes
Context
I am deploying a set of services that are containerised using Docker into AWS. No matter which deployment solution is chosen (e.g. raw EC2/ECS/Elastic Beanstalk/Fargate) we will face the issue of "service discovery".
To name just a few of…

David
- 7,652
- 21
- 60
- 98
15
votes
5 answers
How Node js app register to Spring eureka?
Is it possible to implement node js app as a spring eureka client? I use eureka-js-client to register spring eureka server, it always response 404 error.

Sidney
- 151
- 1
- 1
- 4
14
votes
5 answers
Cannot connect to Eureka server. Exception: java.net.ConnectException: Connection refused: connect
I was doing microservices tutorial from javabrains.io and everything was ok till I tried to implement Eureka server in one of microservices.
My main class is simple:
import org.springframework.boot.SpringApplication;
import…

Elrok
- 333
- 2
- 3
- 10
14
votes
2 answers
Netflix Zuul/Ribbon/Eureka vs AWS ELB/ALB & ECS
I understand from the documentation with the use of Netflix Zuul & Eureka (maybe Ribbon too) you can build an active load balancer. I have always used AWS ELB, ALB (ECS for container management) with R53.
Apart from the vendor portability, Is there…

Chandru
- 964
- 11
- 16
14
votes
1 answer
How to register External Service (Non MSA) On Eureka Discovery registry
I am using Kibna inside Docker.
I am running the Kibana using docker-compose
Below is My docker-compose.yml
version: '2'
services:
elasticsearch:
image: elasticsearch
expose:
- 9200
ports:
-…

Tukaram Patil Pune
- 789
- 6
- 13
14
votes
1 answer
Eureka clients in docker container
I have an eureka server and two rest services (eureka clients) running in docker containers. If the first service tries to access the second one, I get an UnknownHostException. The reason is that the services register on eureka server with the…

1r3k
- 173
- 1
- 9