java - Spring Boot Chaos Monkey 不使用 feign
问题描述
我正在用 feign、hystrix 和ribbon 测试spring boot chaos monkey。它不工作。呼叫没有按预期失败。
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
解决方案
推荐阅读
- c++ - 为什么在 C++ 中有不同的运算符重载方式?
- gradle - 如何在 intellij 中处理多个 gradle 项目和依赖项
- azure - 如何获取 Azure ID 令牌以用于 webapi 中的授权?
- ruby-on-rails - 如何在运行多台服务器的生产环境中使 ActiveRecord 查询更快?
- javascript - 如何捕获由特定单词分隔的字符串的不同 x 部分
- sql - 比较单个表中的值的最佳方法
- java - 没有从 Java 调用的 Perl 脚本的输出
- python - pip install 不安装包,只安装 dist-info 文件夹
- javascript - 如何将新创建的 jsPdf 文件上传到服务器而不是保存在本地计算机中?
- sql - SAP HANA 的 := 语法有什么作用?