Skip to content

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

Merged
Baoyuantop merged 1 commit intoapache:masterfrom
shreemaan-abhishek:backport-pr4-schema-compat
Apr 8, 2026
Merged

fix: consumer/credential/stream_route compatible with older versions schema#13154
Baoyuantop merged 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
@Baoyuantop Baoyuantop merged commit 2c2827e into apache:master Apr 8, 2026
22 of 24 checks passed
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.

4 participants