Create a RabbitMQ superstream (partitioned stream) and consume from it with balanced partition assignment

domain: rabbitmq.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable the RabbitMQ Streams plugin: rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management
  2. Create a superstream using the management CLI or stream client: rabbitmq-streams add_super_stream orders --partitions 3 creates streams orders-0, orders-1, orders-2 and a routing exchange
  3. Publish using a producer with routing key hashing: the superstream exchange routes each message to a partition based on a hash of the routing key, ensuring per-key ordering across partitions
  4. On the consumer side, use the super-stream consumer API with a ConsumerGroup name set; the client library automatically distributes partition ownership across consumer group members
  5. Configure x-stream-offset=first or x-stream-offset=next on each partition consumer to set the starting read position; use stored offsets for resumable consumption
  6. Monitor partition consumer distribution via GET /api/stream/consumers and confirm each partition is assigned to exactly one active consumer

Known gotchas

Related routes

scale rabbitmq stream consumption using super streams partitioned across cluster nodes
rabbitmq.com · 5 steps · unrated
Deploy a RabbitMQ stream queue and consume with offset tracking
rabbitmq · 6 steps · unrated
Partition RabbitMQ message consumption across queues using the consistent hash exchange plugin
rabbitmq.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans