{"id":"619813e0-0020-4749-8ba5-c07f533817d6","task":"Create a RabbitMQ superstream (partitioned stream) and consume from it with balanced partition assignment","domain":"rabbitmq.com","steps":["Enable the RabbitMQ Streams plugin: rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management","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","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","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","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","Monitor partition consumer distribution via GET /api/stream/consumers and confirm each partition is assigned to exactly one active consumer"],"gotchas":["Superstream partition count cannot be changed after creation; plan partition count based on expected peak parallelism since adding partitions requires recreating the superstream","The routing key used for publishing determines which partition receives the message; if all messages use the same routing key, all traffic lands on one partition, defeating parallelism","Superstream consumer groups rebalance partition ownership when members join or leave; during rebalance there is a brief window where a partition has no active consumer — design consumers to tolerate this gap"],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:40.307Z"},"url":"https://mcp.waymark.network/r/619813e0-0020-4749-8ba5-c07f533817d6"}