Does routing key on super streams have any meaning?

127 views
Skip to first unread message

Ahmet Enes Bayraktar

unread,
Nov 4, 2022, 8:29:15 AM11/4/22
to rabbitmq-users
I used consistent hash exchange before and the routing key value was the weight for distribution.

Now I am playing with super streams and it also utilizes to routing key to distribute. Does this routing key have any meaning to it?

Regards,
Ahmet Enes Bayraktar.

Arnaud Cogoluègnes

unread,
Nov 7, 2022, 2:48:15 AM11/7/22
to rabbitmq-users
A super stream is a logical entity that uses individual, regular streams for its partitions. It is defined with AMQP resources (an exchange and bindings to the stream-typed queues), but messages do not go through the exchange. The client library (using the stream protocol) gets to choose the partitions to publish messages to. The client library uses stream protocol commands to find out about the topology of the super stream to route messages accordingly. The topology is based on the AMQP resources mentioned above, but these are internal details.

A blog post covers this [1].

Super streams are useable only with the stream protocol, not with AMQP (only individual streams accessible through AMQP).

Reply all
Reply to author
Forward
0 new messages