hyperlane-plugin-mq 23.3.2

A message queue plugin for the Hyperlane framework providing a pluggable MessageBroker trait and an in-memory broker with consumer groups, visibility timeouts, retries, TTL expiration, and dead-letter queues.
Documentation

hyperlane-plugin-mq

Async Message Queue & Sharded In-Memory Broker Plugin

Crates.io Version Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · Plugin Catalog · API Docs


Overview

hyperlane-plugin-mq supplies an asynchronous MessageBroker abstraction and a 64-shard InMemoryBroker with consumer groups, visibility timeouts, retries, and dead-letter queues for hyperlane services.

Installation

cargo add hyperlane-plugin-mq

Usage

use hyperlane_plugin_mq::{MqConfig, MqPlugin};

fn setup_mq() {
    MqPlugin::init(MqConfig::default());
}

Verification

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-mq --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-mq --all-features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.