Skip to content

By @noxdafox: Improve rabbit_backing_queue:is_duplicate behaviour (#12913) #12914

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

Closed
wants to merge 2 commits into from

Conversation

michaelklishin
Copy link
Collaborator

This is #12913 by @noxdafox re-submitted so that Actions have access to all the secrets.

`is_duplicate` callback signature was changed in order to support both
the mirroring queues as well as the de-duplication ones.

As the mirroring queues are now deprecated and removed, we can fall
back to a simpler boolean as return value.

Signed-off-by: Matteo Cafasso <[email protected]>
(cherry picked from commit c927446)
As the de-duplication plugin is the only adopter of the `is_duplicate`
callback, we now use a simpler signature.

When a message is deemed duplicated, we discard it and re-route it to
dead letter exchange.

Signed-off-by: Matteo Cafasso <[email protected]>
(cherry picked from commit 6a979b6)
@michaelklishin
Copy link
Collaborator Author

Will re-submit since the original PR was force-pushed.

@michaelklishin michaelklishin deleted the rabbitmq-server-12913 branch December 12, 2024 00:40
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

Successfully merging this pull request may close these issues.

2 participants