noxdafox / rabbitmq-message-deduplication

RabbitMQ Plugin for filtering message duplicates
Mozilla Public License 2.0
271 stars 33 forks source link

0.5.3 queues not working under rabbitmq 3.10.0 #85

Closed kashak88 closed 2 years ago

kashak88 commented 2 years ago

ubuntu 20.04 rabbitmq 3.10.0

Hello, We've recently tried updating rabbitmq from 3.9.14 to 3.10.0 and message deduplication plugin breaks all queues. What I've tried so far: 1) Fresh install/fresh vhosts/fresh queues. Doesn't help. 2) Compiled from source (which produced elixir-1.13.4.ez instead of 1.12.2). Doesn't help. rabbit.log.gz

Typical application trace:

0|consumers  | 09-05 14:14:36.790: Error: Channel closed by server: 404 (NOT-FOUND) with message "NOT_FOUND - failed to perform operation on queue 'UAT.lessWeb.10.50.1.130' in vhost 'mastercard-uat' due to timeout"
0|consumers  | 09-05 14:14:36.791:     at Channel.C.accept (/var/www/imsapps/p2m/node_modules/amqplib/lib/channel.js:422:17)
0|consumers  | 09-05 14:14:36.791:     at Connection.mainAccept [as accept] (/var/www/imsapps/p2m/node_modules/amqplib/lib/connection.js:64:33)
0|consumers  | 09-05 14:14:36.791:     at TLSSocket.go (/var/www/imsapps/p2m/node_modules/amqplib/lib/connection.js:478:48)
0|consumers  | 09-05 14:14:36.791:     at TLSSocket.emit (node:events:527:28)
0|consumers  | 09-05 14:14:36.791:     at emitReadable_ (node:internal/streams/readable:578:12)
0|consumers  | 09-05 14:14:36.791:     at processTicksAndRejections (node:internal/process/task_queues:82:21) {
0|consumers  | 09-05 14:14:36.791:   code: 404,
0|consumers  | 09-05 14:14:36.791:   classId: 50,
0|consumers  | 09-05 14:14:36.791:   methodId: 10
0|consumers  | 09-05 14:14:36.791: }

Doing a fresh install without the plugin makes everything work as expected. Rolling back to 3.9.X also makes everything work as expected.

I am attaching rabbitmq log. Appreciate any help with this

noxdafox commented 2 years ago

Hello,

This suggests RMQ has made incompatible changes in their queue layer. I will try to investigate and see if we can port the plugin to the newest version (>= 3.10). I am off until the end of May.

noxdafox commented 2 years ago

Issue has been fix and changes have been pushed into master. I will make a release this WE.

noxdafox commented 2 years ago

Issue fixed in 0.5.4.