-
Notifications
You must be signed in to change notification settings - Fork 16
Add kafka module ported from Ox #219
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
Conversation
|
One thing that we're missing are the docs :) |
| * @param <K> The type of the key. | ||
| * @param <V> The type of the value. | ||
| */ | ||
| public record ReceivedMessage<K, V>(ConsumerRecord<K, V> consumerRecord) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this? seems like a pass-through
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean not to wrap ConsumerRecord in ReceivedMessage and expose it directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I don't think there's much benefit in the wrapper?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's some kind of compatibility layer, but at the moment I don't see many benefits either. I will remove that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
I've added docs for Kafka module |
|
Thanks, now to releasing :) |
Added a Kafka module ported from Ox to Java, providing Kafka producer and consumer support based on the original Ox design.