-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random Exchange Type #335
Comments
Hi @snichme, I'd like to work on this implementation! Does that make sense yet? If so, just confirming the desired behavior:
When an incoming message has set the routing key as "X" the exchange should pick randomly between A and B, right? And talking about random stuff, I was thinking about using Random::PCG32. wdyt?
|
Hi, Happy to hear that you want to work on this. Do you want to build it for a use case or more to get into writing crystal? There is a draft PR now: #786 that I'm working on that will change the interfaces for an exchange in LavinMQ so I think it's better wait until that PR has been merged and then start working on this. Using PCG32 makes sense I think. |
None of them 😆 Do you think it'll be better to wait your PR to be merged for this issue? |
Hello! I'm glad you are taking an interest in this project :) |
@thepabloaguilar the PR #786 is now merged so if you are still interested in looking at this issue, please go ahead. |
Inspiration: https://github.com/rabbitmq/rabbitmq-server/tree/master/deps/rabbitmq_random_exchange
The text was updated successfully, but these errors were encountered: