Message queuing utilities for Rust using apalis and AMQP.
apalis-amqp
is a Rust crate that provides utilities for integrating apalis
with AMQP message queuing systems. It includes an AmqpBackend
implementation for use with the pushing and popping jobs, as well as a AmqpStream
type for consuming messages from an AMQP queue and passing them to Worker
for processing.
tower
layers.Add apalis-amqp to your Cargo.toml file:
toml
[dependencies]
apalis = "0.4"
apalis-amqp = "0.1"
Then add to your main.rs
````rust
async fn main() -> Result<()> {
let env = std::env::var("AMQPADDR")?;
let amqpbackend = AmqpBackend::
apalis-amqp is licensed under the Apache license. See the LICENSE file for details.