user13419533
user13419533

Reputation:

How to avoid duplications messages in RabbitMQ?

Is it possible to avoid sending the same messages (data) to the certain queue using RabbitMQ configuration? Or should I do this programmatically?

Upvotes: 2

Views: 137

Answers (1)

noxdafox
noxdafox

Reputation: 15030

RabbitMQ does not offer message de-duplication out of the box.

There is a plugin which offers a certain level of de-duplication.

You can also implement de-duplication yourself at either the producers or consumers by checking if the sent/received message was already seen against a cache.

Upvotes: 1

Related Questions