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

Added access to individual messages from incoming batch metadata for Kafka and Pulsar #2754

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

ozangunalp
Copy link
Collaborator

No description provided.

cescoffier
cescoffier previously approved these changes Sep 13, 2024
Copy link
Contributor

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

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

Should we add something in the doc?

Copy link
Contributor

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

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

I'm wondering if we need to introduce the concept of "bag of messages", trying to generalize what's happening in Pulsar and Kafka batches. Should we define such an API and more particularly the semantic behind it (do not ack individual messages...)

@ozangunalp
Copy link
Collaborator Author

Ack/nack semantics are particularly different in Kafka and Pulsar for batch messages (Pulsar keeps track of ack'ed messages in the batch)

The change brought here involves batch metadata, not the message types themselves.

@ozangunalp ozangunalp merged commit 9b05a77 into smallrye:main Sep 24, 2024
4 checks passed
@ozangunalp ozangunalp added this to the 4.25.0 milestone Sep 25, 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.

2 participants