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

Spring Cloud Feign: Feign doesn't put parameter into HTTP body when issuing POST request

Here is my Feign interface definition: @RequestMapping(value = "/group/list", method = RequestMethod.POST) List list(AdvertGroupVO vo, @RequestParam("page") int page, …
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
1 answer

How to use Spring AMQP with Spring Cloud Microservice

I used JHipster to generate a several microservices based on Spring Cloud Netflix. Currently thinking about adding Spring AMQP support in one of the services, using this tutorial: https://spring.io/guides/gs/messaging-rabbitmq/ When adding the AMQP…
Tyler Shao
  • 156
  • 1
  • 10
0
votes
1 answer

Is it possible to use Hazelcast with Netflix OSS stack?

Currently we are building a platform using Netflix OSS stack (Microservices). We want to use HazelCast as a caching solution. Can anyone please help me like, how can I integrate HazelCast into Netflix OSS. is it recommended ?
0
votes
0 answers

How can we discover a service in Eureka using a qualifying property with Spring Cloud and Spring Boot

We have about 50 microservices developed using Spring Boot. We use Spring Cloud for registering services with Eureka and invoke the service from the consumer using Feign. The contract is pretty standard, where the consumer uses an interface with…
Kartik Pandya
  • 2,718
  • 2
  • 14
  • 28
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
1 answer

Zuul Routing when using eureka services

I have a reasonably simple Spring Cloud Netflix setup. We are using Zuul as a reverse proxy and Eureka for service discovery and registry. we have legacy services we are slowly choking out. We have many simple services that have their endpoints…
0
votes
0 answers

How does Eureka Server deal with this situation?

Eureka can be made even more resilient and available by running multiple instances and asking them to register with each other For example, we have 3 Eureka servers: Server A's peer instance is pointed to B, B's peer is pointed to C, C is pointed…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
1 answer

Spring Cloud Netflix: Will Eureka client prefer to choose the remote service in same zone?

The document says: Eureka clients tries to talk to Eureka Server in the same zone. If there are problems talking with the server or if the server does not exist in the same zone, the clients fail over to the servers in the other zones. So I know…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
2 answers

Spring Cloud Netflix: Remote service error handling with Feign

We are trying to put Spring Cloud Netflix into production environment. For now we encounter a problem about business logic error handling. We're using Feign as HTTP REST client. Microservice A needs to invoke microservice B which is deployed in…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
2 answers

Spring Cloud: How to configure Hystrix in @FeignClient

I have following service: @FeignClient(name = "person", fallback = FeignHystrixFallback.class) public interface PersonService { @RequestMapping(value = "/find", method = RequestMethod.GET) Person findPerson(@RequestParam("name") String…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
1 answer

Handling same context path for multiple micro service in zuul configuration

We are building platform on top of Spring netflix OSS to host multiple use-cases micro service api. One of the use case have 2 API (2 code base building 2 jars) they want it to be hosted on 2 different service Id but both are having same context url…
Gunjan Sharma
  • 15
  • 1
  • 7
0
votes
1 answer

query value contain `{aa%` cause feign returned http status code 400

I'm using feign in spring-cloud, I have got a problem. This is my feign client def. @FeignClient("food-service") public interface FoodService { @RequestMapping(value = {"/food"},method = {RequestMethod.GET}) List
Dreampie
  • 1,321
  • 4
  • 17
  • 32
0
votes
1 answer

Spring Cloud Ribbon: Load balancer rule configuration doesn't work

Here is my application.properties: spring.application.name=person server.port=8080 eureka.client.service-url.defaultZone=http://localhost:8761/eureka # this line of config doesn't work person.ribbon.NFLoadBalancerRuleClassName=asdfasdfasdf By…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
1 answer

Spring-cloud brixton, eureka and docker with ephemeral ports

I'm using spring cloud eureka for microservice registration in a dockerised environment on aws. As i'm using dockers ephemeral port mapping the port exposed on the container host is unknown. To overcome that i've a custom EurekaInstanceConfigBean…
Dirk Lachowski
  • 3,121
  • 4
  • 40
  • 66
0
votes
0 answers

Cannot create Bean after @Autowired EurekaDiscoveryClient

I am trying to create bean cassandraServer which uses IP address fetched from Netflix Eureka server, but everytime it throws NPE for discoveryClient. How can I create Bean using properties from Eureka…
Vinod Patel
  • 430
  • 1
  • 7
  • 19