ruby-amqp / hutch

A system for processing messages from RabbitMQ.
https://gocardless.com/blog/hutch-inter-service-communication-with-rabbitmq/
MIT License
855 stars 137 forks source link

Message deduplication #14

Open hmarr opened 11 years ago

hmarr commented 11 years ago

When we're using mirrored queues, there is a chance of receiving a message multiple times. Prevent this by storing message ids / hashes in Redis or Zookeeper, and checking if messages have already been processed before handing them off to a consumer.

See https://github.com/xing/beetle/blob/master/lib/beetle/deduplication_store.rb

ms-ati commented 10 years ago

+1