hyperlane-plugin-mq 23.3.0

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
//!
//! High-concurrency pluggable message queue abstraction and sharded in-memory
//! broker for Hyperlane with topics, consumer groups, bounded backpressure,
//! TTL expiration, `O(log N)` min-heap visibility timeouts, retries, and
//! dead-letter queues.

mod r#const;
mod r#enum;
mod r#fn;
mod r#impl;
mod r#static;
mod r#struct;
mod r#trait;
mod r#type;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {r#const::*, r#enum::*, r#struct::*, r#trait::*, r#type::*};

pub(crate) use {r#fn::*, r#static::*};

use std::{
    array::from_fn,
    collections::{HashMap, VecDeque},
    error::Error,
    fmt::{self, Display, Formatter},
    future::{Future, ready},
    hash::{BuildHasherDefault, Hasher},
    pin::Pin,
    sync::{
        Arc, Mutex, MutexGuard, OnceLock, RwLock, RwLockReadGuard,
        atomic::{AtomicU32, AtomicU64, Ordering},
    },
    time::{Duration, Instant, SystemTime, UNIX_EPOCH},
};

use lombok_macros::*;