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

[kafka] Support writing messages with different schemas #413

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

eolivelli
Copy link
Member

@eolivelli eolivelli commented Sep 14, 2023

Summary:
Use a smarter algorithm to cache the Serialiser while producing to a Kafka topic

}
key = keySerializer.serialize(topicName, r.key());
log.info("Chosen serializer for key {} is {}", keyClass, keySerializer);
Copy link
Member

Choose a reason for hiding this comment

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

I'd log this only when the serializer changes

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch.
it was a left over

@nicoloboschi nicoloboschi merged commit 7c3e4af into main Sep 14, 2023
8 checks passed
@cbornet cbornet deleted the impl/kafka-producer-cache branch September 26, 2023 23:45
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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.

None yet

2 participants