Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(source): check schema registry subject name before deserialization #17256

Open
xiangjinwu opened this issue Jun 14, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@xiangjinwu
Copy link
Contributor

This is how deserialization of a message works today:

  1. extract payload[1..5] as schema id
  2. fetch writer schema definition using schema id
  3. pass payload[5..], writer schema fetched, and reader schema provided in SQL to get a avro::Value

This task is about adding an extra step between 2 and 3:

  • Compare subject name of writer schema fetched and reader schema provided in SQL. If they are not of the same subject, skip deserialization of this message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant