Expand description
Redis Pub/Sub: delivery to the subscribers connected when a message is published.
- PubSub:
RedisPubSub, one channel. - RedisPubSubPattern:
RedisPubSubPattern, every channel a glob matches. - PubSubMode:
PubSubMode, classic or sharded delivery. - buffer:
RedisPubSub::buffer, what a busy subscription holds. - Framing:
RedisPubSub::codec, the frame the headers travel in. - RedisPubSubPublish:
Publish,PUBLISHorSPUBLISH. - Prelude:
prelude, everything a Pub/Sub service imports.
Re-exports§
pub use crate::pubsub::RedisPubSubPublish as Publish;
Modules§
- prelude
- The core prelude plus everything a Redis Pub/Sub service writes.
Structs§
- Redis
PubSub - Describes one Pub/Sub subscription on a single channel, against a
ConnectedRedisBroker. - Redis
PubSub Message - A Pub/Sub delivery.
ack/nackare unsupported (Pub/Sub has no acknowledgement). - Redis
PubSub Pattern - Describes one Pub/Sub subscription on a glob pattern (
PSUBSCRIBE), against aConnectedRedisBroker. - Redis
PubSub Publish - The declaration half of the Pub/Sub publisher: delivery mode and envelope codec, no connection.
- Redis
PubSub Publisher - Publishes Pub/Sub messages with
PUBLISH(classic) orSPUBLISH(sharded): aRedisPubSubPublishpolicy paired with a connection. - Redis
PubSub Subscriber - A Pub/Sub subscription backed by a dedicated
fredclient, so its message stream and channel state are isolated from other subscribers and from the publishing pool.
Enums§
- PubSub
Mode - Pub/Sub delivery mode. Defaults to
Classic.