Skip to content

Bug: Consumer Group association (group_id) unrecognized by lint and missing in dump (APISIX v3.13.0) #415

@AjithNirmal

Description

@AjithNirmal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions