Here you can find the Rust code examples for RabbitMQ tutorials.
The examples use rabbitmq-stream-client client library.
These tutorials assume a RabbitMQ server node running locally using default ports and the stream plugin enabled.
See First Application With RabbitMQ Streams, Stream plugin documentation and how to preconfigure plugins.
Each cargo command should be launched in a separate shell.
cargo run --bin receive
cargo run --bin send
cargo run --bin send_offset_tracking
cargo run --bin receive_offset_tracking