hystrix

    0热度

    1回答

    Hystrix回退问题。 如果dbcall1由于某种故障而发生故障并发生短路,则dbcall2也将进入故障预警模式,直到电路打开。 public class CommandHelloFailure extends HystrixCommand<String> { private final String name; public CommandHelloFailure(St

    0热度

    1回答

    我有一个简单的Hystrix仪表板应用程序运行在端口8081基于Spring启动应用程序与@EnableHystrixDashboard注释。 当我加载页面http://localhost:8081/hystrix,我看到的主页,但错误:GET http://localhost:9001/webjars/jquery/2.1.1/jquery.min.js 404(),我看不到监视器页面。 我想念

    0热度

    2回答

    我不知道如何测试这个,需要快速回答是否有可能,以及我怎么可能测试这个。 所以我必须从服务的API网关呼叫,我想知道的是,如果以下是可能的春天开机 @Component class GatewayService { @Autowired private MicroserviceGateway microServiceGateway; @Async

    0热度

    1回答

    我使用汽轮机来聚合来自hystrix的数据。当我尝试使用hystrix获取数据(localhost:23002/hystrix.strean)时,一切顺利。但是,当我尝试使用涡轮获取数据时,它什么也没有显示。 这是我的配置。 server: port: 23002 spring: application: name: hystrix-1 eureka:

    3热度

    2回答

    我们通过直接扩展HystrixCommand类来使用hystrix功能。 但是对于一些业务异常,hystrix的回退方法正在被触发。 我不想触发某些业务特定异常的hystrix后退。如何在没有注释的情况下实现它? 在此先感谢..!

    0热度

    1回答

    备用方法我使用@HystrixCommand如在我的方法 @HystrixCommand(fallbackMethod = "fallbackCircuit", groupKey = "group-key", commandProperties = { @HystrixProperty(name = "requestCache.enabled", value = "true"),

    0热度

    1回答

    我的local.properties文件hystrix属性如下所示。 hystrix.command.FASTSearchPageCommand.execution.isolation.strategy=THREAD hystrix.command.FASTSearchPageCommand.execution.isolation.semaphore.maxConcurrentRequests=

    2热度

    1回答

    我运行一个调用的端点是关闭的,但是红椎不执行备用方法,并抛出一个异常: java.util.concurrent.ExecutionException: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8080/wallet/custome

    0热度

    1回答

    我有一个UserRepository来搜索数据库(solr,elasticsearch,others ...),并且我的SQL数据库中有这个用户数据(MySQL,PostgreSQL,others ...),我的问题是我把这个放在什么地方?在储存库?或其他抽象(服务,控制器)? 我的例子是在Java中,但我会将此到Java(春季)和PHP: public interface UserReposit

    1热度

    3回答

    我想为zuul version 1.1.2做负载测试。 但是,在运行负载测试后,我几分钟后不断收到以下问题。 Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: book could not acquire a semaphore for execution and no fallback available.