Skip to content

Binding superstream to MQTT Topic Exchange #12623

Closed Answered by ansd
ricardoduncan asked this question in Other
Discussion options

You must be logged in to vote

You have the following two options to achieve your use case:

  1. Create N streams. You achieve partitioning by binding each stream with a different binding key to the topic exchange. For example, stream 1 could bind to the topic exchange matching all topics starting with topic level a. Stream 2 could bind to the topic exchange matching all topics starting with topic level b.
  2. Enable the sharding plugin to have the exchange type x-modulus-hash being registered in RabbitMQ. Create a fixed number of streams and bind them to an instance of the x-modulus-hash exchange (the binding keys do not matter). Create an exchange-to-exchange binding from the x-modulus-hash exchange to the topic exchange wit…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@ricardoduncan
Comment options

@ricardoduncan
Comment options

@ansd
Comment options

ansd Oct 31, 2024
Maintainer

@ansd
Comment options

ansd Oct 31, 2024
Maintainer

Comment options

You must be logged in to vote
5 replies
@ricardoduncan
Comment options

@ansd
Comment options

ansd Nov 2, 2024
Maintainer

@michaelklishin
Comment options

@ricardoduncan
Comment options

@ansd
Comment options

ansd Nov 4, 2024
Maintainer

Answer selected by ansd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants