-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
solved #66, support default degrade rule. #2232
Conversation
这个能告知下,怎么配置吗?我把你这些类都按照包名覆盖了,还是无法生效 |
例如这样
|
感谢回复,我试了这种方式,发现不生效,我debug了下新写的DefaultDegradeRuleManager和DefaultDegradeSlot,发现没进入这两个类,我在自己的jar中添加同样包名的类和在resources下添加文件名为com.alibaba.csp.sentinel.slotchain.ProcessorSlot,里面的内容是:com.alibaba.csp.sentinel.slots.block.degrade.DefaultDegradeSlot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice work. Thanks for contributing! I'll refine the mechanism later. |
Universal default circuit breaker rules will be supported in Sentinel 2.0.0. Cheers! |
想问下这个是在sentinel-core 2.0.0发布吗,2.0.0已经发布了吗?目前发现maven上最新版本还是1.8.6, 这个特性4年了还没上吗? |
默认熔断规则目前暂不支持控制台配置,可以通过 |
您好,在使用默认断流器时,发现如果有3个接口,其中1个接口由于超时等问题被熔断,剩下的2个接口也处于被熔断状态。请问这是正常的逻辑吗(因为我的预期是,默认断流器就像普通断流规则一样,只会断流那个出现问题的接口/资源) |
扩展支持默认规则的实现思路, 适用已发布版本.
#66