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 - Eureka service discovery clustering

I have tried starting Eureka service in peer to peer awareness with following profiles. #profile 1: spring: application: name: service-registry profiles: p1 server: port: 8761 eureka: dashboard: enabled: false override: true …
Arpit
  • 521
  • 2
  • 8
  • 22
0
votes
1 answer

Spring Sleuth + Zuul = java.lang.IllegalArgumentException: Malformed id

We are using spring-cloud-sleuth together with spring-cloud-zuul. In above case when HTTP request is forwarded from Spring Zuul to next micro-service X then on X we get following error: java.lang.IllegalArgumentException: Malformed id:…
Ziemowit Stolarczyk
  • 1,014
  • 2
  • 11
  • 26
0
votes
0 answers

Spring boot Eureka: Use shared instance without registration

We are developing a system (based on Netflix microservice stack) that uses quite a few microservices. In some cases, in order to test something locally, it is required to start several microservices in order to be able to perform happy-path testing.…
0
votes
1 answer

Rarely getting ClientException and ZuulException in spring boot, eureka, zuul, ribbon framework

I have configured my project architecture using Spring Boot, Eureka, Zuul, Ribbon frameworks. Its working fine but sometimes (rarely) getting the following exceptions: Caused by: com.netflix.client.ClientException: Load balancer does not have…
Krish
  • 1,804
  • 7
  • 37
  • 65
0
votes
1 answer

How microservice apps are better than cluster of monolithic apps cluster with load balancing

How micro-service apps are better than cluster of monolithic apps cluster with a load balancer ? I already know that micro services are :- 1- easy to develop 2- helps for continuous delivery in what other ways it's better ?
0
votes
1 answer

Hystrix to open circuit for problematic service instances?

Assume the following scenario: I have ServiceA calling ServiceB with Hystrix enabled There are 2 instances of ServiceB One of the instances is facing some pretty serious issues where its endpoint is consistently throwing errors, but the other…
feicipet
  • 934
  • 2
  • 8
  • 21
0
votes
1 answer

Ribbon without Eureka : Ribbon doesn't remember that a server is down via PingURL

I am using Ribbon without Eureka.I am using a ConfigurationBasedServerList to provide the list of server instances like so.. customerinfo.ribbon.listOfServers=localhost:9003,localhost:9008 I have configured PingURL with the /health endpoint. I have…
Amith M
  • 61
  • 1
  • 7
0
votes
1 answer

zuul eureka service id redirection

I am having few spring boot microservices, which are deployed to JBoss over a cloud environment. These boot services are Eureka clients which register itself in to the Eureka server. Following is an example: eureka: client: healthcheck: …
0
votes
2 answers

Zuul after login post submit redirecting to legacy original url

I am new to zuul server. I have a legacy system which I am trying to strangulate using zuul proxy server. My zuul server is running on a local machine and my legacy spring MVC system with spring security runs on dedicated physical tomcat server (ex.…
0
votes
1 answer

Spring cloud Zipkin server data retention period

I am using Spring cloud Zipkin to trace calls with sample percentage 0.4. I am not using any persistent storage like MySQL or Cassandra. Could you please let me know how to set data retention period in Zipkin server e.g. I want to check only 6…
Debopam
  • 3,198
  • 6
  • 41
  • 72
0
votes
0 answers

Eureka lease interval not working

I have a eureka server and a bunch of clients/instances. I had set the properties: eureka.instance.leaseRenewalIntervalInSeconds=120 eureka.instance.leaseExpirationDurationInSeconds=240 to all the clients/instances. I found that when I stop a…
codingsplash
  • 4,785
  • 12
  • 51
  • 90
0
votes
1 answer

How to configure Spring Cloud Turbine Stream and Spring Boot Actuator using 2.0.0.M4 version?

I have the following configuration: @EnableTurbineStream @EnableDiscoveryClient @SpringBootApplication public class SquintTurbineServerApplication { public static void main(final String... args) { …
0
votes
1 answer

Spring Boot/Spring Cloud - Eureka server

I am trying out the eureka cloud registry for the first time and looking for your help on it To register sample Eureka client to the eureka server The code for Eureka Server is in the following…
0
votes
1 answer

Service is accessible even after Eureka is shutdown

I have two Microservices, MS1 and MS2 both registered with Eureka server. MS1 invokes MS2. I found that even after I shutdown the Eureka server, I am able to run MS1 without any error. If the Eureka server is down how is MS1 able to figure out…
codingsplash
  • 4,785
  • 12
  • 51
  • 90
0
votes
1 answer

netflix feign client - RequestMethod.POST submits empty json object to service

When i send a POST request using netflix client , the json properties are blank when it hits the service consumer. Below is my interface @FeignClient(name = "NLPService", configuration = FooConfiguration.class ) public interface NLPServiceConsumer…
lives
  • 1,243
  • 5
  • 25
  • 61