In my project, I saw that there was a chance to double confirm the same delivery tag. When this happens, the consumer is freed from the queue and no messages come to him anymore (Observed using the RabbitMQ control panel).
How can I verify that a given delivery tag has already been confirmed? Is there a recommended way to handle such a scenario using the RabbitMQ API?
I tried to avoid confirmation twice in my code, but unfortunately this is not possible due to some design issues.
source
share