Documentation
¶
Overview ¶
Package redis publishes outbox events to Redis Streams (durable, default) or Redis Pub/Sub (fire-and-forget). Works with standalone, Sentinel and Cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Mode Mode
// DefaultStream is used when Event.Topic is empty.
DefaultStream string
// Prefix is prepended to every stream/channel name.
Prefix string
// MaxLen caps streams approximately (XADD MAXLEN ~). Zero means unbounded.
MaxLen int64
}
Config configures the publisher.
Click to show internal directories.
Click to hide internal directories.