exactly-once snippets

Exactly-once delivery with RabbitMQ

Tagged amqp, exactly-once, messaging, rabbitmq  Languages 

Use late acknowledgment and idempotency to achieve fake exactly-once delivery with RabbitMQ.

Late acknowledgment = acknowledge the message after the database transaction has been committed.

Idempotency = don’t process the same message twice, or ensure the effect is the same when processing once or multiple times