Skip to content

能不能配置一个限流规则,应用到一整个类中的所有方法,并且是共享的 #3051

Answered by luffy0223
cangxun233 asked this question in Q&A
Discussion options

You must be logged in to vote

我们有过类似的场景,实现的思路是在这个类前加切面,然后所有接口的调用前都先进入同一个Sentinel资源

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@sczyh30
Comment options

@daojian70
Comment options

Answer selected by sczyh30
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/question Category issues related to questions or problems
6 participants