Skip to content

fix: consumer/credential/stream_route compatible with older versions schema#13154

Open
shreemaan-abhishek wants to merge 1 commit intoapache:masterfrom
shreemaan-abhishek:backport-pr4-schema-compat
Open

fix: consumer/credential/stream_route compatible with older versions schema#13154
shreemaan-abhishek wants to merge 1 commit intoapache:masterfrom
shreemaan-abhishek:backport-pr4-schema-compat

Conversation

@shreemaan-abhishek
Copy link
Copy Markdown
Contributor

@shreemaan-abhishek shreemaan-abhishek commented Apr 3, 2026

Summary

  • Adds id field to consumer schema for backward compatibility with older config formats
  • Extends credential id schema to accept consumer/credentials/uuid path format via oneOf
  • Adds name and labels fields to stream_route schema for compatibility

Test plan

  • Credential with consumer/credentials/uuid id format is accepted
  • Consumer with explicit id field works in YAML config mode
  • Invalid API key returns 401
  • Valid credential key returns 200

Backport from EE commit e9d9311dc. Add id property to consumer schema
for backward compatibility with older versions. Add credential test
for YAML config center.
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant