Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Jagmohan Sharma
    Thiago Santos Joaquim
    Hi guys!!! Everyone ok? Sorry any mistake in my english...
    So, does anyone know how I can expose a random port on dokcer to Eureka?
    Thiago Santos Joaquim
    Hi everyone. What is the write way? i have 5 microservices and zull, hava any way to implement hystrix over zuul to protect all services or i have to implement hystrix in any microservice? in your opinion?
    Hello guys wanted to ask you what do you think about SWIM and gossip protocol for microservices faliure detection and cluster membership for example:
    Sushant Borse
    hey, has anyone integrated hystrix metrics to prometheus ?
    David J. M. Karlsen
    Sushant Borse
    Thanks @davidkarlsen , but unfortunately that one is not working for me...any other suggestion?
    David J. M. Karlsen
    how is it not working?
    Sushant Borse
    looks like the metrics I'm getting after hitting http://localhost:8888/metrics are spring-actuator-metrics(http://jsoneditoronline.org/?id=26dbc05242d6f12bba63df3f31ece107) and it is not in the prometheus required format and that is why getting error as "text format parsing error..."
    Shivam Goel
    When will be zuul/2 available ?
    Hi, I want to implement the Hystrix in gateway(like zuul).
    The gateway will discover service A, B or C, assume the service A has 10 instances and 10 Api. My question is.
    What is the best practice for the command key decision? Service Name+Instance IP+Api Name, it seems this gain the best detail level, as the different api, different instance fail will not circle break the other, But it may occupy large volume of command key.
    Jagmohan Sharma
    Hi Hystrix team, Can somebody from hystrix team or other help me on Netflix/Hystrix#1525 issue. I was in dicussion with @mattrjacobs in this. Can someone look into this? any help would be appreciated. Thanks.
    Yang Lifan
    In Hystrix 1.6.0, HystrixObservableCommand might remove thread-isolation. Netflix/Hystrix#1200 @jonefeewang
    Hello. I'm using Hystrix and its circuit breaker. It seems that HTTP 404 error is considered as an error so the circuit gets opened (trapped) after multiple 404 errors. How can I tell Hystrix to consider 404 responses as a success ? (to deal with Restful architecture)
    Yang Lifan
    Why Hystrix fallback not controlled by timeout?
    Is neccessary to save the Hystrix monitoring log information to the database?
    I really want to know there is no need, because my project needs to use it, which God can help me?

    Hi, I am working on a project using Hystrix and gRPC. I have a HystrixObservableCommand class - MemberCommand and I am subscribing using Schedulers.io()


    In the construct method, I log the gRPC context but it returns null -

    protected Observable<Greeter.GreeterReply> construct() {
     logger.info("0 -- In MemberCommand, traceId from gRPC context = {}", ContextKeys.TRACE_ID_CTX_KEY.get());

    Any ideas, how I can propagate gRPC context through RxIoScheduler threads?
    For the above I get,

    0 -- In MemberCommand, traceId from gRPC context = null
    Eric Turley
    I could really use a look at this question regarding testing the hystrix fallback behavior in a Feign client:
    I'm new to this, so I'm probably just missing something simple.
    Ahmed BOUCETTA
    hello can i use failsafe with hystrix Dashboard ?
    Charlotte Williams
    Shane Witbeck
    hi, can anyone from Netflix comment on when Sonar will be open sourced?
    Hi I want to use zuul for api gateway. I am using spring boot 2.0 and <dependency>
    getting below exception [INFO] --- spring-boot-maven-plugin:2.0.0.RELEASE:start (pre-integration-test) @ api-gateway ---
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
    at java.lang.Thread.run (Thread.java:748)
    Caused by: java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.<init>([Ljava/lang/Object;)V
    at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext (BootstrapApplicationListener.java:120)
    at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent (BootstrapApplicationListener.java:84)
    at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent (BootstrapApplicationListener.java:62)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener (SimpleApplicationEventMulticaster.java:172)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener (SimpleApplicationEventMulticaster.java:165)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent (SimpleApplicationEventMulticaster.java:139)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent (SimpleApplicationEventMulticaster.java:127)
    at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared (EventPublishingRunListener.java:74)
    at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared (SpringApplicationRunListeners.java:54)
    at org.springframework.boot.SpringApplication.prepareEnvironment (SpringApplication.java:351)
    at org.springframework.boot.SpringApplication.run (SpringApplication.java:317)
    at org.springframework.boot.SpringApplication.run (SpringApplication.java:1246)
    at org.springframework.boot.SpringApplication.run (SpringApplication.java:1234)
    at com.noonwallet.api.gateway.service.ApiGatewayServiceLauncher.main (ApiGatewayServiceLauncher.java:12)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run (AbstractRunMojo.java:496)
    at java.lang.Thread.run (Thread.java:748)
    [INFO] ------------------------------------------------------------------------
    while starting the application
    anyone have any idea, what am i missing here?
    Is anyone here who can check Netflix/ribbon#377
    Netflix hystrix can support to Soap WS

    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6882d8d8: startup date [Tue Jul 17 16:03:25 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@25139613
    at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414)
    at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)
    at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)
    at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
    at com.tienon.TurbineApplication.main(TurbineApplication.java:16)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

    2018-07-17 16:03:25.617 ERROR [spring-cloud-hyxtrix-turbine,,,] 9844 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed

    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.tienon.TurbineApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.cloud.netflix.turbine.stream.TurbineStreamConfiguration
    at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:616)
    at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:299)
    at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:245)
    at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)
    at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308)
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationC

    The Error Message so long
    How can I reset Only eventNotifier, instead of Hystrix.reset(), because it is resetting my micrometer publisher too
    Mate Lang
    Hello. Can somebody please take a look at a long pending pull request for a non-intrusive, yet important (for us at least) feature at the following PR:
    Hey!! I have wrapped my commands to access datastax under hystix. When I disconnect myself from internet, I sometimes get NoHostAvailable(Wrapped under HystrixRuntimeException) and sometimes I get HystrixTimeout with all the other configurations, even the withExecutionTimeoutInMilliseconds remaining same for both cases.
    Can anyone let me know, why i am getting these two different types of exceptions?
    is there a mechanism to load hystrix configuration from a properties file (or application.yml in a boot app)? In particular I'm using the javanica contrib library.
    two things I've tried: I noticed the log entry: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on class path. and wondered if it would be sufficient to put hystrix properties in config.properties, that seemed to have no effect (config.properties is picked up but the timeout on the thread is not applied). I also tried ConfigurationManager.loadPropertiesFromResources("config.properties") which also seems to have no effect.
    JT Burke

    I am trying to override a hystrix command timeout for a feign client from command line. I can't figure out syntax for the # and parens. I'm using spring-boot-2 and spring-cloud-netflix.

                timeoutInMilliseconds: 10000


    Has anyone got experience with this and some suggestions?

    Andrey Mizurov
    Hi everyone, anybody can provide information about Hystrix release cycle and who is major maintainer ? Latest release was 1 year ago, we have a lot of issues (( and we would like to fix them.
    hello everyone
    Duarte Santos
    Hello everyone,
    If I have a service that has around 10 hystrix commands, one per API method call, that might call 1000+ API servers, would it be overkilling to have a thread pool per API server?
    Hi we are using zuul+hystrix+Ribbon implemented gateway. We have multiple microservices from those one api is facing zuul hystrix readout gateway time out 504.
    I need solution to over come above problem and we have default time out is 4seconds
    Vinit Tiwari
    Hello…I am using resilience4j for circuitbreaker configuration…it seems, fallback method is not getting configured somehow
    when we start the microservice application. the first request take 10 sec then next all the next request it takes 1 sec. Feign client added through annotation. How to invoke inilitize the feign client as part of application startup
    Yair Ivan Medina Cota
    HI , am trying to create default hystrix fallback for logging purpose, but it is not working as expected, is there any other way to do this
    what is the difference between volumenthreshold and errorcountpercentage, should we use both of them at a time ?
    t-summer hae
    Alessandro Vermeulen
    Does anyone have any pointers how to get into contact with maintainers of https://github.com/Netflix/concurrency-limits? We have some PRs we would like to discuss.