interface RPCRedisBrokerOptions
extends
RedisBrokerOptionsexport interface RPCRedisBrokerOptions extends RedisBrokerOptions
Options specific for an RPC Redis broker
optionalnumber blockTimeout? :
How long to block for messages when polling
Inherited from: RedisBrokerOptions
Function to use for decoding messages
Inherited from: BaseBrokerOptions
Function to use for encoding messages
Inherited from: BaseBrokerOptions
string | typeof kUseRandomGroupName group :
Consumer group name to use for this broker. For fanning out events, use kUseRandomGroupName
Inherited from: RedisBrokerOptions
See also: https://redis.io/commands/xreadgroup/
optionalnumber maxDeliveredTimes? :
How many times a message can be delivered to a consumer before it is considered dead. This is used to prevent messages from being stuck in the queue forever if a consumer is unable to process them.
Inherited from: RedisBrokerOptions
optionalnumber messageIdleTime? :
How long a message should be idle for before allowing it to be claimed by another consumer. Note that too high of a value can lead to a high delay in processing messages during a service downscale, while too low of a value can lead to messages being too eagerly claimed by other consumers during an instance restart (which is most likely not actually that problematic)
Inherited from: RedisBrokerOptions
string name :
Unique consumer name.
Inherited from: RedisBrokerOptions
See also: https://redis.io/commands/xreadgroup/