Type Alias: QueueDefaults
QueueDefaults =
object
The defaults of the consumers of a Queue (QueueAction, Queue.consume).
Properties
attempts?
optionalattempts?:number
The deliveries of a message before it goes to the dead letter queue (the first one included).
Default
ts
3backoff?
optionalbackoff?:Backoff
The wait before a message is delivered again after a failed attempt.
Default
ts
{type: 'exponential', delay: '1s', max: '1m'}concurrency?
optionalconcurrency?:number
The messages processed at once by an instance, for each consumer.
Default
ts
1group?
optionalgroup?:string
The group of the consumers.
Default
the appId of the application
timeout?
optionaltimeout?:Duration
The processing time limit of a message (aborted, then retried).
Default
ts
no limit