Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    pankajrepo
    @pankajrepo
    Hi I want to use zuul for api gateway. I am using spring boot 2.0 and <dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-zuul</artifactId>
    <version>1.2.3.RELEASE</version>
    </dependency>
    getting below exception [INFO] --- spring-boot-maven-plugin:2.0.0.RELEASE:start (pre-integration-test) @ api-gateway ---
    [WARNING]
    java.lang.reflect.InvocationTargetException
    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] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    while starting the application
    anyone have any idea, what am i missing here?
    itshan
    @MadeInChina
    Is anyone here who can check Netflix/ribbon#377
    Srini555
    @Srini555
    Netflix hystrix can support to Soap WS
    wuheng3803
    @wuheng3803

    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

    benyVip
    @benyVip
    The Error Message so long
    Ghost
    @ghost~5b08154ed73408ce4f9ab57b
    How can I reset Only eventNotifier, instead of Hystrix.reset(), because it is resetting my micrometer publisher too
    Mate Lang
    @matelang
    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:
    Netflix/Hystrix#1809
    vinishasharma
    @vinishasharma
    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?
    Kevin
    @kevinludwig
    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
    @jtburke

    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.

    hystrix:
      command:
        FeignClientClass#methodName(ParamsClass):
          execution:
            isolation:
              thread:
                timeoutInMilliseconds: 10000

    set HYSTRIX_COMMAND_FEIGNCLIENTCLASS#METHODNAME(PARAMSCLASS)_EXECUTION_ISOLATION_THREAD_TIMEOUTINMILLISECONDS=10000

    Has anyone got experience with this and some suggestions?

    Andrey Mizurov
    @amizurov
    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.
    Litor
    @Litor
    hello everyone
    Duarte Santos
    @duartesantos
    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?
    Srini555
    @Srini555
    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
    @codeomnitrix
    Hello…I am using resilience4j for circuitbreaker configuration…it seems, fallback method is not getting configured somehow
    vinayak12
    @vinayak12
    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
    @yairi.medinac_gitlab
    hello
    kannanjmc
    @kannanjmc
    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 ?
    matrixbot
    @matrixbot
    t-summer hae
    Alessandro Vermeulen
    @spockz
    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.