Handling Partial Success in Batch Processing with PullSub #1944
Unanswered
Atanusaha143
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on a FastStream subscriber implementation with a PullSub configuration and have a question about handling partial successes when processing messages in batches.
Here’s an outline of my setup:
Question
In this setup, when a batch of 5 messages is pulled, what happens if:
Specifically:
await msg.ack()
acknowledge the entire batch, marking all 5 messages as processed?ack
andnack
handling for individual messages in the batch to ensure only successfully processed messages are acknowledged while the failed ones are retried?Goal
I want to:
🙏🏻 Any guidance or best practices for implementing this would be greatly appreciated. Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions