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.
1条答案
按热度按时间shstlldc1#
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