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

circuitBreaker.requestVolumeThreshold doesn't work as expected

I'm testing Spring Cloud circuit breaker and I'm missing the point of how actually "circuitBreaker.requestVolumeThreshold" parameter actually works...See my example... @HystrixCommand( fallbackMethod = "invokeMicroServiceFallback", …
Tomas Kloucek
  • 251
  • 2
  • 12
0
votes
2 answers

Service via Zuul can't connect to Gmail

I've created a simple mail service to send email from gmail using spring boot mail. When service running independently (i.e direct hit on email service http://localhost:8184/api/email/sender/sendToOne ), email works fine. But when I register my…
Timothy
  • 855
  • 1
  • 13
  • 29
0
votes
1 answer

How can we set life time of a Micro-service?

I have a scenario where I need to deploy the same service on multiple server/instances (scaling), is there any configuration property(application.properties) available in Spring Boot(Restful Micro Service),which says, after some period of time those…
0
votes
0 answers

Spring Boot Cloud applications with Hystrix and Turbine not working with contextPath

I have a Spring Cloud Consul service that has two applications registered as appservice1 and appservice2. Both applications are exposing a hystrix stream through: http://ip1:8080/appservice1/hystrix.stream and…
0
votes
1 answer

Get exception java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy after @EnableCircuitBreaker is applied

I am going to use Spring circuit breaker in my Controller. @EnableCircuitBreaker @Controller @RequestMapping(value = "/proxy") public class DefaultGateway { @Autowired private BookService bookService; …
jm li
  • 303
  • 2
  • 9
  • 18
0
votes
1 answer

spring.cloud.inetutils.ignoredInterfaces ignored in profiles

I'm running a Spring Boot application and using the Netflix OSS Spring Cloud framework. We are running a Eureka instance and have a service that is trying to register. When our service registers to Eureka it uses IP of the wrong port name. To fix…
Jon
  • 333
  • 1
  • 6
0
votes
1 answer

How to setup Netflix Eureka

is there any tutorial/example which shows me step by step how to setup a eureka server cluster and a eureka zuul cluster which forwards my requests to my microservices? The netflix documentation is sometimes a bit old and overall very bad and the…
0
votes
2 answers

Sidecar doesn't support multiple instances of one NON-JVM app

I was able to register the single nodejs app instance using the netflix sidecar app successfully. Both nodejs and sidecar bridge app are running in Cloud foundry. Result: SAMPLE-NODEJS n/a (1) (1) UP (1) When i scale the nodeJS app to 3…
Purandhar
  • 31
  • 2
  • 4
0
votes
1 answer

Using Multiple Spring Eureka Discovery Services

I have a user request to allow a support tool, which uses Spring Cloud Services, to display a set of links to the same support tool that would exist multiple environments (Dev, Test 1, Test 2, Prod). I am currently connecting via Eureka Server and…
0
votes
1 answer

Setting default fallback for Zuul routing failures

We are trying to override the default error page you get when there is a routing failure within the Zuul Edge Server and aren't having any luck. We have routes set up like so: zuul: routes: ui: /** api: /api/** The default SendErrorFilter…
0
votes
1 answer

spring cloud zuul: How can return service httpstatus(or handle zuul status return)?

If use zuul routes for eureka service id,service return some httpStatus like 503 curl 10.1.0.21:5701/usr/users/xxx/a -H "Api-Version: v10" -i Returns: HTTP/1.1 503 Service Unavailable Set-Cookie: Session-Token=9e66fb56-21e2-457a-a00f-f788c5ce820b;…
Dreampie
  • 1,321
  • 4
  • 17
  • 32
0
votes
1 answer

Spring Cloud: enabling SSL for Zuul and Eureka,How can store keystore.jks in git with spring cloud config server?

Spring Cloud: enabling SSL for Zuul and Eureka,How can store keystore.jks in git with spring cloud config server?
0
votes
0 answers

Is it possible to register with two instances of Eureka simultaneously?

We have multiple environments for our apps, but not all apps have the same environments. For example: App 1 has dev, qa, and prod environments App 2 has dev, and prod environments (no qa environment) We're trying to figure out if there's a simple…
nerdherd
  • 2,508
  • 2
  • 24
  • 40
0
votes
1 answer

Getting expection on running spring boot turbine stream

@EnableHystrixDashboard @EnableTurbineStream public class MonitoringApplication { } application.yml eureka: instance: prefer-ip-address: true leaseRenewalIntervalInSeconds: 10 client: enabled: true …
Saurabh Kumar
  • 16,353
  • 49
  • 133
  • 212
0
votes
1 answer

how does hystrix ensure fast recovery?

I understood it helps to fail-fast. But how does it ensure fast recovery for vendors? It can probably recover faster in case it is taking a lot of time to handle current request and other requests are stopped using fail fast. But what are the other…
Divs
  • 1,578
  • 2
  • 24
  • 51