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

Redrive policy MaxReceive logic is off by one #263

Open
qhenkart opened this issue May 4, 2023 · 0 comments
Open

Redrive policy MaxReceive logic is off by one #263

qhenkart opened this issue May 4, 2023 · 0 comments
Assignees
Labels

Comments

@qhenkart
Copy link
Contributor

qhenkart commented May 4, 2023

in AWS, setting MaxReceives to 3 means that the message is processed exactly 3 times before being sent to the DLQ.

With this library, I think it counts the first run as 0 instead of 1, meaning that it gets processed 4 times before sending to the DLQ.

@Admiral-Piett Admiral-Piett self-assigned this Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants