Expand description
NATS / JetStream broker implementation for RustStream.
Structs§
- Core
Message - Wrapper around an
async_nats::Messagefrom a core (non-JetStream) subscription. - JetStream
Message - Wrapper around an
async_nats::jetstream::Messagewith ack semantics. - Nats
Broker - A NATS broker handle backed by an
async_nats::Client. - Nats
Publisher - NATS publisher built on top of
async_nats::Client. Cheap to clone. - Nats
Subscriber - A NATS subscription.
- Subscribe
Options - Builder describing one subscription against
crate::NatsBroker(or its test counterpart).
Enums§
- Deliver
Policy DeliverPolicydetermines how the consumer should select the first message to deliver.- Nats
Error - Errors surfaced by the NATS broker implementation.
- Nats
Message - A NATS delivery. Two flavours: core NATS (no ack) and
JetStream(real ack/nack/redelivery).