Bug: Consumer Group association (group_id) unrecognized by lint and missing in dump (APISIX v3.13.0)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 70
- Forks
- 15
- Avg merge
- 1h 58m
- Merged PRs (30d)
- 42
Description
Current Behavior
When using ADC v0.24.2 with Apache APISIX v3.13.0, the tool fails to recognize or preserve the association between a Consumer and a Consumer Group. Even though the Admin API successfully handles the group_id field via curl, ADC identifies it as an "Unrecognized key" during linting and omits it entirely during a dump operation.
adc dump ignores Consumer Groups as well , which is defined in readme.md
Exxpected Behavior
ADC should support the group_id (or equivalent alias) for Consumers in the Open Source backend schema to match APISIX v3.x capabilities.
Steps to Reproduce
curl -X PUT http://127.0.0.1
-H "X-API-KEY: "
-d '{
"username": test1",
"group_id": "test_group"
}
2.Run adc dump -o dump.yaml.
3.Observe that the resulting dump.yaml contains the consumer but is missing the group_id or group field.
4.Try to lint a manual YAML file containing:
yaml
consumers:
- username: "test1"
group_id: "test_group"
Environment
Environment:
ADC Version: 0.24.2
APISIX Version: 3.13.0 (Open Source)
OS-Version: Rhel8.10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the adc lint and dump commands for the Open Source backend schema, then compare their handling with the consumer and Consumer Group definitions described in readme.md. Reproduce the issue with the provided group_id YAML and dump.yaml workflow; done means lint accepts the association and adc dump preserves it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100