Git Product home page Git Product logo

Comments (9)

noxdafox avatar noxdafox commented on July 19, 2024

Hello,

Did you try with a more recent version of RabbitMQ? 3.7.4 is quite old and the queue deduplication might suffer from some compatibility issue.

from rabbitmq-message-deduplication.

Civilis317 avatar Civilis317 commented on July 19, 2024

Hi, I just tried 3.7.15 and got the same problem.

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on July 19, 2024

I tried both 3.7.4 and 3.7.15 versions and could not reproduce the issue you suffer from.

Could you please provide a reproducible example? The code you have been used to test the plugin should be good enough.

Also, which version of Erlang are you using?

from rabbitmq-message-deduplication.

Civilis317 avatar Civilis317 commented on July 19, 2024

Ok, I will shortly.
I will have to rework some code as to not expose my employers secrets, then I will post a link to the github project here.
Thanks for looking into it so far.

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on July 19, 2024

No need to do anything fancy, it could even be some bash scripting. Thank you for your help.

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on July 19, 2024

This is most likely a duplicate of #33. As I can now reproduce it, there is no need to provide an example. Thanks!

from rabbitmq-message-deduplication.

Civilis317 avatar Civilis317 commented on July 19, 2024

Yes! I can confirm that it works fine with Strings.
messageProperties.setHeader("x-deduplication-header", String.valueOf(n));
solved it for me.

FYI:
The problem is still there for nullable header values (ie using a property for the value of the header that is sometimes null), but for me that is not unreasonable.

Thank you very much for sorting this out and thank you for providing this very useful plugin!

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on July 19, 2024

Release 0.4.1 now handles non-string headers including integers and null values.

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on July 19, 2024

Closing the issue, please re-open if the problem persists.

from rabbitmq-message-deduplication.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.