Java 弹簧靴混乱猴子不与假货合作

Java 弹簧靴混乱猴子不与假货合作,java,spring,spring-boot,spring-cloud,spring-boot-chaos-monkey,Java,Spring,Spring Boot,Spring Cloud,Spring Boot Chaos Monkey,我正在测试春季靴子混乱猴子与假,hystrix和丝带。它不起作用。呼叫未按预期失败 organizationService: ribbon: MaxAutoRetries: 2 MaxAutoRetriesNextServer: 0 OkToRetryOnAllOperations: true ServerListRefreshInterval: 2000 ConnectTimeout: 10000 ReadTimeout: 1000 混沌配

我正在测试春季靴子混乱猴子与假,hystrix和丝带。它不起作用。呼叫未按预期失败

organizationService:
  ribbon:
    MaxAutoRetries: 2
    MaxAutoRetriesNextServer: 0
    OkToRetryOnAllOperations: true
    ServerListRefreshInterval: 2000
    ConnectTimeout: 10000
    ReadTimeout: 1000
混沌配置:

chaos:
    monkey:
        enabled: true
        watcher:
            controller: false
            restController: false
            service: false
            repository: true
            component: true

        assaults:
            level: 1
            latencyActive: true
            latencyRangeStart: 11000
            latencyRangeEnd: 40000

你能举一个简单的例子吗?或者提供更多细节,你使用哪个版本的SpringBootChaosMonkey?我在将代码移动到单独的类后使其工作。我认为Hystrix和混沌猴都使用AOP。所以我们不能在同一种方法上合作,这是真的。你知道hystrix不再维护了吗?我会在某个时候开始切换到resilience4j,也许他们使用的是与AOP不同的东西。