RabbitMQ plugin to remove duplicate messages

后端 未结 3 1048
情书的邮戳
情书的邮戳 2021-02-06 10:53

I have a RabbitMQ queues for documents generation. Basically, each document has type and state (new, processing, ready), so I use topic exchange with r

3条回答
  •  清歌不尽
    2021-02-06 11:32

    You can check this plugin I wrote which allows to de-duplicate messages published within the broker.

    You can de-duplicate on the exchange or at the queue according to your needs. Only thing your publisher needs to do is to set the x-deduplicate-message message header with the ID of your message.

提交回复
热议问题