The uri of the Redis server.
The name of the stream to read from.
The name of the group to attach to.
The name of the consumer to identify as.
Creates a new Consumer.
The uri of the Redis server.
The name of the stream to read from.
The name of the group to attach to.
The name of the consumer to identify as.
The options for the consumer.
Creates a new Consumer.
An IORedis client instance.
The name of the stream to read from.
The name of the group to attach to.
The name of the consumer to identify as.
Creates a new Consumer.
An IORedis client instance.
The name of the stream to read from.
The name of the group to attach to.
The name of the consumer to identify as.
The options for the consumer.
The name of the consumer to identify as.
The name of the group to attach to.
The name of the stream to read from.
Iterates over the consumer, asynchronously yielding messages
in an [id, data] pair.
Acknowledges successful message delivery by id, removing the message from the pending entries list on the server.
The id of the message.
Claims pending messages to be re-delievered to this consumer.
Noting that even though the claimed messages are returned by the server, they will still be re-delivered during normal iteration.
The ids of the pending messages to claim.
A list of [id, data] pairs which were claimed.
Deletes the consumer from the consumer group.
Any delievered but unacked messages for this consumer will be discarded from the server.
Immediately disconnects from the wrapped Redis client.
Attaches an event handler to the wrapped Redis client.
The handler for the event.
Returns a list of pending messages for the consumer group.
The id to start at.
The id to end at.
The max length of pending messages to return.
A list of pending messages, along with their metadata.
Allows for graceful shutdown of the consumer, setting up a disconnect to be run after pending messages can be acked.
Generated using TypeDoc
Creates a new Consumer.