Skip to content

Conversation

@ZbutwialyPiernik
Copy link
Contributor

Added a Kafka module ported from Ox to Java, providing Kafka producer and consumer support based on the original Ox design.

@adamw
Copy link
Member

adamw commented Jan 7, 2026

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) {
Copy link
Member

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

Copy link
Contributor Author

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?

Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@ZbutwialyPiernik
Copy link
Contributor Author

I've added docs for Kafka module

@adamw adamw merged commit 1cd9be2 into main Jan 7, 2026
9 checks passed
@adamw adamw deleted the migrate-kafka-from-ox branch January 7, 2026 14:49
@adamw
Copy link
Member

adamw commented Jan 7, 2026

Thanks, now to releasing :)

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.

3 participants