Creates a new Redis Streams broker.
Runtime services for uuid, timestamps, and timers
Serializer for message payloads
Optionaloptions: RedisStreamsOptions
Redis connection and polling options
Publishes a message to a topic (Redis stream).
The message payload type
The topic (stream name) to publish to
The message payload
Optionaloptions: PublishOptions
Caller headers, ordering key and de-duplication id
Resolves when published
Internal
Publishes with framework-owned headers under the configured acknowledgement bound.
Destination topic
Payload to serialize
Framework-owned transport headers
Optionaloptions: PublishOptions
Caller headers, ordering key and de-duplication id
Resolves when the transport acknowledges the publish
Tri-state backend reachability (M70c).
ioredis auto-reconnects via its default retry strategy, so the broker
does not run a reconnect loop of its own; the truth is what ping()
reports right now. true when ping() resolves, false when it
rejects (the server is down or the socket is mid-reconnect), undefined
when the injected client exposes no ping (a minimal fake) — in which
case the indicator reports reachable: 'unknown' rather than lying.
true/false/undefined as described
Sends a request and awaits a single correlated reply.
The request payload type
The reply payload type
Destination topic a responder is listening on
The request payload
Optionaloptions: RequestOptions
Reply timeout behavior
The reply payload
Internal
Sends request-reply traffic with framework-owned headers.
Optionaloptions: RequestOptionsRegisters a responder whose result is returned to the requesting caller.
The request payload type
The reply payload type
The request topic to respond on
Invoked per request; its result is returned to the caller
Optionaloptions: SubscribeOptions
Consumer group behavior
The active subscription
Subscribes to a topic using Redis Streams consumer groups.
The message payload type
The topic (stream name) to subscribe to
The handler to invoke for each message
Optionaloptions: SubscribeOptions
Optional subscription options (queue for consumer group)
The subscription handle
Internal
Subscribes through the header-aware internal path.
Optionaloptions: SubscribeOptions
Redis Streams message broker implementation.
Uses Redis Streams for persistent message delivery with consumer groups for load-balanced processing.
Since
0.1.0