interface RedisBrokerOptions
extends
BaseBrokerOptionsexport interface RedisBrokerOptions extends BaseBrokerOptions
Options specific for a Redis broker
optionalnumber blockTimeout? :
How long to block for messages when polling
Inherited from: BaseBrokerOptions
optional(data: Buffer) => unknown decode? :
Function to use for decoding messages
Inherited from: BaseBrokerOptions
optional(data: unknown) => Buffer encode? :
Function to use for encoding messages
Inherited from: BaseBrokerOptions
optionalstring name? :
Unique consumer name. See: https://redis.io/commands/xreadgroup/
Inherited from: BaseBrokerOptions
Redis redisClient :
The Redis client to use