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

[dbal] Fix DBAL Consumer duplicating messages when rejecting with requeue #815

Merged
merged 5 commits into from
Apr 2, 2019

Conversation

Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented Apr 1, 2019

Fix #814

I've switched to acknowledge first and then proceed with queueing the message again since this seems how other (Redis, RdKafka for example) work. Others seem to assume that message is automatically acknowledged when it's received.

For the same reason I'm using acknowledge instead of deleteMessage (other packages seem to work this way.

@Steveb-p Steveb-p marked this pull request as ready for review April 1, 2019 21:26
@Steveb-p Steveb-p added the bug label Apr 1, 2019
@makasim makasim merged commit 8bf5ce9 into master Apr 2, 2019
@makasim makasim deleted the fix-dbal-requeue branch April 2, 2019 06:51
@makasim
Copy link
Member

makasim commented Apr 2, 2019

Thank you @Steveb-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants