Closed mike-cochrane closed 2 years ago
Hello,
This is a duplicate issue, see: #67, #65
In particular, you can find an explanation about why publisher confirm and the deduplication plugin cannot work together here: https://github.com/noxdafox/rabbitmq-message-deduplication/issues/67#issuecomment-782827895
Using RabbitMQ 3.8.14 and 0.5.0 of the plugin, along with the MassTransit library in C#.
If I set up a queue to use deduplication it seems that I can only get it to work if I turn off the publisher confirms.
With publisher confirms set to true (the default and desired setting) then when a duplicate is sent I get an exception like the following
MassTransit.RabbitMqTransport.MessageNotAcknowledgedException
If I set it to false then duplicates are filtered out and things work as expected.
This may be similar to issue 21. In that case the operation used to hang and not return.