-
Notifications
You must be signed in to change notification settings - Fork 22
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
exchangeSplit option unclear and undocumented. #624
Comments
I tried to use exchangeSplit:
|
Right... so if each instance is subscribing to e different exchange, then each instance needs a different queue. so we need to add an instance number to the queue_name somehow. |
Is it creating multiple queues? or maybe that's the part that is missing? |
Another thing... instances modulo exchangeSplit...
means create 10 queues, each one subscribed to two exchanges. |
There is also the question of cluster awareness. if you have multiple nodes sharing a load, then you need one instance per exchange... regardless of the number of nodes. So this introduces the need for cluster topology awareness. see #1297 (comment) |
I don't remember what exchangeSplit does. I think the idea is that you have, say, a winnow with post_exchangeSplit making a bunch of exchanges and sending to them with sorting based on modulo of check sums. the complementary option would be something where you declare a subscriber, where each instance subscribes to a corresponding exchange
in winnow config:
in subscriber config
should result in different bindings for each instance:
instance 1 should bind it's queue to topic A of exchange xs_foo00
instance 2 should bind its queue to topic A of exchange xs_foo01
instance 3 should bind it's queue to topic A of exchange xs_foo02
...
So... I think that is what it does and is for. It makes it easier to declare subscribers to a queue.
Looking at the repository:
The goal of this issue is to test it out, and make a decision about whether to
a) finish it, and write some documentation, or
b) remove it.
The text was updated successfully, but these errors were encountered: