Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

How to use it in scenarios where resource names are not fixed

Open wang-qijia opened this issue 1 year ago • 1 comments

My scenario involves limiting the sending frequency per user, where user IDs are unknown in advance. How can this be implemented?

Through the documentation, I learned that rules need to be initialized in advance before they can take effect. In this case, it is not possible to initialize the rules.

wang-qijia avatar Jul 02 '24 03:07 wang-qijia

FYI, https://github.com/alibaba/Sentinel/blob/master/sentinel-demo/sentinel-demo-parameter-flow-control/src/main/java/com/alibaba/csp/sentinel/demo/flow/param/ParamFlowQpsDemo.java

LearningGp avatar Jul 08 '24 12:07 LearningGp