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

handle message broker failures #145

Open
jonenst opened this issue Oct 3, 2024 · 0 comments
Open

handle message broker failures #145

jonenst opened this issue Oct 3, 2024 · 0 comments

Comments

@jonenst
Copy link
Contributor

jonenst commented Oct 3, 2024

We have nothing to handle spurious redeliveries, we should implement something.

spurious redelivery because of failures at publish time:
https://www.rabbitmq.com/docs/reliability#publisher-side
"Therefore consumer applications will need to perform deduplication or handle incoming messages in an idempotent manner."

spurious redelivery because of failures at consume time:
https://www.rabbitmq.com/docs/reliability#consumer-side
"In the event of network failure (or a node failure), messages can be redelivered, and consumers must be prepared to handle deliveries they have seen in the past. It is recommended that consumer implementation is designed to be idempotent rather than to explicitly perform deduplication."

we should use all information provided by rabbitmq (e.g. redelivered counts) to limit the effects of duplicated messages, avoid extra computations if possible.

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