From d8dab9d9b562d2d1c75f5d87cc0539560bd040e0 Mon Sep 17 00:00:00 2001 From: Daniele Palaia Date: Wed, 30 Oct 2024 11:26:31 +0100 Subject: [PATCH] updating README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c5fe71a..ea2bd95 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,22 @@ sleep(Duration::from_secs(10)).await; handle.close().await?; ``` +##### Superstream + +The client supports the superstream functionality. + +A super stream is a logical stream made of individual, regular streams. It is a way to scale out publishing and consuming with RabbitMQ Streams: a large logical stream is divided into partition streams, splitting up the storage and the traffic on several cluster nodes. + +See the [blog post](https://blog.rabbitmq.com/posts/2022/07/rabbitmq-3-11-feature-preview-super-streams/) for more info. + +You can use SuperStreamProducer and SuperStreamConsumer classes which internally uses producers and consumers to operate on the componsing streams. + +Have a look to the examples to see on how to work with super streams. + +See the [Super Stream Producer Example:](https://github.com/rabbitmq/rabbitmq-stream-rust-client/examples/send_super_stream.rs) + +See the [Super Stream Consumer Example:](https://github.com/rabbitmq/rabbitmq-stream-rust-client/examples/receive_super_stream.rs) + ### Development #### Compiling