Questions tagged [spring-cloud-netflix]

Spring-Cloud-Netflix provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.

With a few simple annotations you can quickly enable and configure the common patterns inside your application and build large distributed systems with battle-tested Netflix components. The patterns provided include Service Discovery (Eureka), Circuit Breaker (Hystrix), Intelligent Routing (Zuul) and Client Side Load Balancing (Ribbon). Here you can find all the details.

879 questions
0
votes
1 answer

Deploying Spring Cloud Eureka in AWS ECS (EC2) with DNS props but getting: 'Failed to bind elastic IP (IP)'. I attached a policy to allow user

I am using AWS ECS to deploy Eureka in my Cluster to zones inside us-east-1 region. ECS dynamically deploys to any region and I cannot predetermine the IP or domain the EC2 instance will be, hence I use DNS. I am using DNS as illustrated here…
Given
  • 585
  • 1
  • 7
  • 14
0
votes
1 answer

Spring cloud - Resttemplate doesn't get injected in interceptor

I created a resttemplate in my spring boot application like this: @Configuration public class MyConfiguration { @LoadBalanced @Bean RestTemplate restTemplate() { return new RestTemplate(); } } This works fine in all classes when autowired.…
Jayz
  • 1,174
  • 2
  • 19
  • 43
0
votes
1 answer

Java MicroService Projectstuckture with Spring and Neflix Stack

Currently, I'm trying to create a small example project with a micro service architecture in Java to learn the basic concepts. I am using the following tutorials: tutorial1, tutorial2. In there it is mentioned that you have to configure an…
0
votes
1 answer

Eureka server can't detect AWS

I am trying to run a Eureka server in AWS. I created a Springboot app annotated with @EnableEurekaServer but whenever the app started in AWS i got the following log message: 2017-03-29 04:11:39.886 INFO 19046 --- [ Thread-10]…
wimnat
  • 1,129
  • 1
  • 13
  • 27
0
votes
1 answer

Struggling to get SpringCloud Feign to work with external services

Using Feign to access services that I register on Eureka is a breeze. I am trying to use Feign to access external services and struggling with the basics. I am playing with a service on Bluemix however to simplify the problem at hand, I am using a…
Manglu
  • 10,744
  • 12
  • 44
  • 57
0
votes
1 answer

Routing static content in downstream services using Spring Cloud ZUUL

I am using Spring Cloud ZUUL as gateway to all downstream services. I now have a NodeJS based service which I also route using Spring Cloud ZUUL and Spring Cloud SideCar. The NodeJS based service references some static content, images,css and also…
0
votes
1 answer

Spring Cloud with multiple UI services as one

Is it possible to use spring cloud for creating a integration between multiple web ui applications as one using a common service that can integrate all URLs in menus to presented as one application? In addition, based on previous description, how…
0
votes
0 answers

Automaticle replicate microservices with Spring Cloud Netflix

I have multiple Spring Cloud microservices. I want the automatic replication of microservices to be done when microservice cannot manage to do its work. I tried to find any solutions but I found only this: here. This solution cannot be applied to my…
0
votes
1 answer

Spring Boot micro services- Handling impacting changes from other microservice

I just want to brief about what I am trying to do before asking question I am trying to build microservices using spring boot - where in I need to use many Spring Cloud Netflix features such as Service Discovery (Eureka), Circuit Breaker (Hystrix),…
0
votes
1 answer

Getting java.lang.ClassNotFoundException: com.thoughtworks.xstream.io.naming.NameCoder

Trying to create sample Ereka Server app using SpringBoot.when start the server getting following Exception. Exception stack trace Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverCodecs'…
Arunprasad
  • 567
  • 4
  • 14
  • 29
0
votes
2 answers

Hypermedia response in a microservice architecture

I've started the journey of learning more about this architecture using Spring Cloud and the Netflix's projects. From a general standpoint, I do understand the architecture but now that I'm actually coding an app, a horizon of doubts has appeared…
0
votes
0 answers

Java microservice foreign key relationship

I am learning micro-services in java and after going through several reference on its design and patterns still not clear what is the right way to check foreign key relationship. I have two micro-services userService and groupService. userService…
ahmadl
  • 1
  • 1
0
votes
0 answers

Feign+Ribbon retry does not work

I have build a spring cloud demo with feign and ribbon in it,but the retry function doesn't work.In the same program ,I use RestTemplate too.In this case the retry function works well.Does Feign need extra configuration to use…
capol
  • 1
  • 5
0
votes
0 answers

Netflix Eureka Blue Green Pattern

I have a question about Netflix Eureka and Blue\Green Pattern.... Recently I wrote a blog about Micro Services and Transactions, there I tried to cover the topic of the of Blue\Green pattern but I have a question about the subject. I try to start…
0
votes
1 answer

PollableChannel in Spring Cloud Stream

How I can use PollableChannel in Spring Cloud Stream to receive a stream from inputs? Thanks