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

Fix auto-registration of Avro union (etc) types #932

Merged
merged 7 commits into from
Apr 1, 2022

Conversation

bplommer
Copy link
Member

@bplommer bplommer commented Mar 31, 2022

Resolves #689 and a major motivation for #506. Overrides the entrypoint to KafkaAvroSerializer to use the actual writer schema rather than guessing it from the intermediate Java representation.

): F[(KafkaAvroSerializer, SchemaRegistryClient)]

@deprecated("use the overload that takes an optional writer schema", "2.5.0-M3")
final def createAvroSerializer(
Copy link
Member Author

Choose a reason for hiding this comment

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

I think before 3.0 we should refactor some of this to expose fewer internals.

@bplommer bplommer marked this pull request as ready for review March 31, 2022 17:52
@bplommer bplommer requested a review from vlovgr March 31, 2022 17:52
@bplommer bplommer merged commit 6673fda into series/2.x Apr 1, 2022
@bplommer bplommer deleted the auto-registration-fix branch April 1, 2022 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Avro union type issue with Schema Registry
2 participants