Skip to content

Add support for partial batch response for SQS as an event source #141

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

Open
mauroservienti opened this issue Dec 21, 2021 · 0 comments
Open

Comments

@mauroservienti
Copy link
Member

mauroservienti commented Dec 21, 2021

As of today, the NServiceBus AWS Lambda package manually deletes successfully processed messages from the input queue. If the incoming batch contains 100 messages and all succeed, one hundred delete message requests will be issued to SQS.

With batch failure reporting, the transport could optimize and report back to SQS which message IDs failed to process in one single roundtrip. In the above scenario of all messages succeeding there is no need to delete any message from the input queue because by simply reporting the successful batch processing the entire batch will be removed from the input queue.

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

No branches or pull requests

1 participant