Durable consistent hashing exchange #4885
-
|
hello, I have question concerning x-consistent-hash exchange Is it correct that after the node restart given routing key might be bound to another queue? a ref to the node restart effects I ask this in relation with rabbitmq-consistent-hash-exchange/issues/32 and rabbitmq-consistent-hash-exchange/issues/45 thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
It depends on what clients do. In general, that exchange type does not guarantee routing key to queue stickiness. I thought we even had a doc note about that. Any binding changes between client restarts can result in a reshuffling of the hash ring. |
Beta Was this translation helpful? Give feedback.
@stkrp if the bindings do not change, neither will the hash ring. And if the hash ring is stable, so is the mapping of inputs to outputs, that is, mapping of messages to the bound queues (streams).