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

Add headers to KafkaAcknowledgedMessage #179

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

malletgu
Copy link
Contributor

When a message is being sent to Kafka the acknowledgement should also contains the headers.

Motivation:

Resolves #144

Modifications:

Reused the parsing function from KafkaConsumer in the producer path to return headers in the ack.

Result:

Headers available in the acknowledgement for producers and still available for consumers as well.

When a message is being sent to Kafka the acknowledgement should also contains the headers.
@mimischi mimischi added the semver/minor Adds new public API. label Nov 15, 2024
Copy link
Contributor

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for working on this

@FranzBusch FranzBusch merged commit 09aca6b into swift-server:main Nov 15, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KafkaAcknowledgedMessage lacks headers
3 participants