export interface RedisBrokerOptions extends BaseBrokerOptions
export interface RedisBrokerOptions extends BaseBrokerOptions
Options specific for a Redis broker
Extends
BaseBrokerOptionsOptional
blockTimeout?
:
number
How long to block for messages when polling
Inherited from BaseBrokerOptionsOptional
decode?
:
(data: Buffer) => unknown
Function to use for decoding messages
Inherited from BaseBrokerOptionsOptional
encode?
:
(data: unknown) => Buffer
Function to use for encoding messages
Inherited from BaseBrokerOptionsOptional
maxChunk?
:
number
Max number of messages to poll at once
Inherited from BaseBrokerOptionsOptional
name?
:
string
Unique consumer name. See: https://redis.io/commands/xreadgroup/
Inherited from BaseBrokerOptionsredisClient
:
Redis
The Redis client to use