Skip to content
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

Global circuit breaker for all Dubbo RPC services | 如何默认将所有的 Dubbo RPC接口加上全局默认的熔断策略,并且忽略指定的业务异常? #2557

Open
hachikozjq opened this issue Jan 27, 2022 · 4 comments
Labels
area/circuit-breaking Issues or PRs related to circuit breaking kind/question Category issues related to questions or problems

Comments

@hachikozjq
Copy link

hachikozjq commented Jan 27, 2022

Issue Description

sentinel集成dubbo,如何默认将所有的rpc接口加上全局默认的熔断策略?并且忽略指定的业务异常?

Describe what happened (or what feature you want)

Describe what you expected to happen

dubbo提供者启动后,所有的接口加上一个全局的熔断策略,而不需要去dashboard中一个个配置,目前有100个service我就要配100次,同时,熔断策略中,怎么忽略指定的业务异常,不触发熔断。类似于Hystrix的HystrixBadRequestException。

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

spring cloud alibaba 2.2.6
SpringBoot 2.3.2
spring cloud Hoxton.SR9
sentinel 1.8.3

Anything else we need to know?

@hachikozjq
Copy link
Author

忽略异常已经解决,#2556

@hachikozjq
Copy link
Author

现在就是想如何默认所有的dubbo服务加入到一个全局的熔断策略中。

@hachikozjq
Copy link
Author

#66
看了下讨论,目前官方还是没有全局配置规则吗?

@sczyh30 sczyh30 added the area/circuit-breaking Issues or PRs related to circuit breaking label Jan 29, 2022
@sczyh30 sczyh30 changed the title sentinel集成dubbo,如何默认将所有的rpc接口加上全局默认的熔断策略?并且忽略指定的业务异常? Global circuit breaker for all Dubbo RPC services | 如何默认将所有的 Dubbo RPC接口加上全局默认的熔断策略,并且忽略指定的业务异常? Feb 8, 2022
@sczyh30
Copy link
Member

sczyh30 commented Feb 8, 2022

#66 看了下讨论,目前官方还是没有全局配置规则吗?

默认熔断规则还未支持,欢迎参与贡献

@sczyh30 sczyh30 added the kind/question Category issues related to questions or problems label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/circuit-breaking Issues or PRs related to circuit breaking kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

2 participants