hyperlane-plugin-mq 23.0.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
1
2
3
4
5
6
7
use super::*;

/// Boxed `Send` future returned by async [`MessageBroker`] trait methods.
pub type BrokerFuture<'a, T> = Pin<Box<dyn Future<Output = Result<T, MqError>> + Send + 'a>>;

/// Fast zero-dependency FNV-1a hash map used inside broker shards and topics.
pub(crate) type FnvHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FnvHasher>>;