Reputation:
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
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