feat: add plugin attach-consmer-label#11604
Merged
Merged
Conversation
nic-6443
previously approved these changes
Sep 26, 2024
moonming
previously approved these changes
Sep 26, 2024
ronething
previously approved these changes
Sep 26, 2024
ronething
approved these changes
Sep 26, 2024
nic-6443
approved these changes
Sep 27, 2024
moonming
approved these changes
Sep 27, 2024
membphis
reviewed
Sep 27, 2024
| }' | ||
| ``` | ||
|
|
||
| ❶ Label the `department` information for the consumer. |
Member
There was a problem hiding this comment.
I prefer the Markdown style, which is easy to render by different Markdown tools
1. xxxx
2. xxxx
3. xxxx
| }' | ||
| ``` | ||
|
|
||
| ❶ Consumer 的 `department` 标签信息。 |
| }' | ||
| ``` | ||
|
|
||
| ❶ 将 Consumer 标签 `department` 的值附加到请求头的 `X-Consumer-Department` 字段。 |
membphis
added a commit
that referenced
this pull request
May 12, 2026
… levels in v3.x sections (#13360) - Replace `## Doc improvements` (3.13.0 / 3.14.0 / 3.14.1) and `## Developer productivity` (3.13.0) with H3 so they nest under the release header instead of starting a new top-level section. - 3.12.0: correct OpenResty version typo `v1.27.11` -> `1.27.1.1` (#11936). - 3.11.0: fix plugin name typo `attach-consmer-label` -> `attach-consumer-label` (#11604). - 3.5.0: the `google-cloud-logging` `client_email` entry referenced #9813 (proxy-rewrite); the actual PR is #9622. - 3.0.0: fix `APSISIX` typo in the `enable_cpu_affinity` entry. Refs #13359.
wistefan
pushed a commit
to wistefan/apisix
that referenced
this pull request
Jun 16, 2026
… levels in v3.x sections (apache#13360) - Replace `## Doc improvements` (3.13.0 / 3.14.0 / 3.14.1) and `## Developer productivity` (3.13.0) with H3 so they nest under the release header instead of starting a new top-level section. - 3.12.0: correct OpenResty version typo `v1.27.11` -> `1.27.1.1` (apache#11936). - 3.11.0: fix plugin name typo `attach-consmer-label` -> `attach-consumer-label` (apache#11604). - 3.5.0: the `google-cloud-logging` `client_email` entry referenced apache#9813 (proxy-rewrite); the actual PR is apache#9622. - 3.0.0: fix `APSISIX` typo in the `enable_cpu_affinity` entry. Refs apache#13359.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implement plugin
attach-consumer-label.The
attach-consumer-labelplugin attaches custom consumer-related labels, in addition toX-Consumer-UsernameandX-Credential-Indentifier, to authenticated requests, for upstream services to differentiate between consumers and implement additional logics.Fixes # (issue)
Checklist