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

DGS-19409 Ensure Avro serde caches per subject #2387

Merged
merged 3 commits into from
Dec 19, 2024
Merged

DGS-19409 Ensure Avro serde caches per subject #2387

merged 3 commits into from
Dec 19, 2024

Conversation

rayokota
Copy link
Member

@rayokota rayokota commented Dec 18, 2024

What

Ensure Avro serde caches per subject. Previously caching of schema IDs for primitive types did not account for the subject.

Checklist

  • Contains customer facing changes? Including API/behavior changes
    • No
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • Yes

References

JIRA:

Test & Review

Open questions / Follow-ups

@rayokota rayokota requested review from a team as code owners December 18, 2024 22:17
{
var schemaStr = "{\"type\":\"string\"}";
var schema = new RegisteredSchema("topic1-value", 1, 1, schemaStr, SchemaType.Avro, null);
store[schemaStr] = 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i assume this is not required given AutoRegisterSchemas = false,

@rayokota rayokota merged commit aef7faa into master Dec 19, 2024
1 of 2 checks passed
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.

2 participants