Skip to content

backend: SR context support to legacy endpoints#2249

Open
r-vasquez wants to merge 1 commit intodetect-contextfrom
rv/backend-sr-w-context
Open

backend: SR context support to legacy endpoints#2249
r-vasquez wants to merge 1 commit intodetect-contextfrom
rv/backend-sr-w-context

Conversation

@r-vasquez
Copy link
Contributor

This adds the backend support to the legacy endpoints for Schema Registry Context AND Schema Registry Mode. Also updates existing endpoints' behavior to receive query parameters and pass them down to the SR.

Summary of the changes:

New Routes

Route Method Description
/api/schema-registry/mode PUT Set global mode
/api/schema-registry/mode/{subject} GET Get mode for subject/context
/api/schema-registry/mode/{subject} PUT Set mode for subject/context
/api/schema-registry/mode/{subject} DELETE Delete mode override for subject
/api/schema-registry/config/{subject} GET Get config for subject/context

Modified Routes

Route Method Change
/api/schema-registry/subjects GET New query param: subjectPrefix (e.g. :.staging:, :*:)
/api/schema-registry/schemas/ids/{id}/versions GET New query param: subject

Existing Routes (no code changes needed)

Route Method Notes
/api/schema-registry/config/{subject} PUT Already handles qualified subjects
/api/schema-registry/config/{subject} DELETE Already handles qualified subjects
/api/schema-registry/mode GET Updated internally to pass "" for global mode

Add mode CRUD endpoints, GET config
by subject, subjectPrefix query param
on subjects listing, and subject query
param on schema usages endpoint.
@r-vasquez r-vasquez requested a review from c-julin February 28, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant