apache / apache/apisix

help request: Plug-in function consultation

Open
#13,263 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Lua
Stars
17.1k
Forks
2.9k
Avg merge
3d 16h
Merged PRs (30d)
63

Description

### Description

Image
As shown in the figure, the plug-in can request current limit for consumers, but the current limit for all consumers is the same. Can you set different restrictions for different consumers respectively?

For example, req of consumer01 is set to 2; The req of consumer02 is set to 5; The req of consumer03 is set to 4; Can it be realized?

### Environment

- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):

Contributor guide

Open the contributing guide

Research direction

Start by identifying the plug-in and its current consumer-limit implementation from the issue image and repository search; no file or plug-in name is provided. Check how consumer-specific limits are configured and determine whether distinct values such as 2, 5, and 4 can be supported; done means the behavior and configuration requirements are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.