![]() Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.42.0 to 1.43.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.1) --- updated-dependencies: - dependency-name: tokio dependency-version: 1.43.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
src/bin | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
Rust code for RabbitMQ tutorials (using rabbitmq-stream-client)
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.
Requirements
Code
Each cargo command should be launched in a separate shell.
Tutorial one: "Hello World!"
cargo run --bin receive
cargo run --bin send
Tutorial one: "Offset tracking!"
cargo run --bin send_offset_tracking
cargo run --bin receive_offset_tracking