java - configure Hystix circuit breaker for different threshold limits based on status codes
问题描述
We are using hystrix to make the application fault tolerate with java and springboot as the framework.
The application is configured using hystrix commands.
Is there a way to configure hystrix in a way that the threshold for circuit breaker can be customized for a particular HTTP status code error(example - 409)?
Case- I want to break the circuit earlier than usual if there repeated error with code 409
解决方案
推荐阅读
- javascript - 如何在 Vue.js 中加载 emscripten 生成的模块以使用其功能?
- python - 使用 Scipy.interpolate.splev 推断以填补缺失的数据 Python/Pandas
- c# - 使用 C# 在 MS Access 数据库中自动增加 ID
- reactjs - 使用 useReducer 钩子时的反应方法
- sql - 汇总不同临时表中的数据
- dijkstra - 具有所有负权重的 Dijkstra 算法
- regex - 正则表达式问题:匹配正则表达式,但排除特定字符串
- mysql - 仅当列中不存在值时才尝试执行 SQL 命令
- spring-boot - 我需要正确的方法将模板文件放在微服务中
- javafx - javaFX 错误 SLF4J:无法加载类“org.slf4j.impl.StaticLoggerBinder”