-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
request help: how does the consumer work? #6557
Comments
need consumer-restriction plugin |
@soulbird APISIX find consumers according to some plugins written in the Route (like auth plugins). |
you can track the consumer's processing from this PR: #6502 (comment) |
Think you, I will take a look |
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
Issue description
s described in the documentation
creates a consumer object:
creates a route or service object
From the created parameters, I didn't find any related parameters between consumer and route.
The processing of the request in my understanding is:
1、recvive a request
2、match router
3、find related consumer obj
4、load plugins
Is that so? And how does the consumer work?Each consumer object does not have a unique representation, how is step three done?
Environment
apisix version
):uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: