Optional
connection?: ProviderConfigshort-form format for the connection options for the store, stream, sub, and search clients
Optional
connections?: { long-form format for the connection options for the store, stream, sub, and search clients
Optional
search?: ProviderConfigOptional
reclaimthe number of times to reclaim a stream before giving up and moving the message to a dead-letter queue or other error handling mechanism
Optional
reclaimthe number of milliseconds to wait before reclaiming a stream; depending upon the provider this may be an explicit retry event, consuming a message from the stream and re-queueing it (dlq, etc), or it may be a configurable delay before the provider exposes the message to the consumer again. It is up to the provider, but expressed in milliseconds here.
Optional
redis?: ProviderConfigredis connection options; replaced with 'connection'
the topic that the worker subscribes to
The callback function to execute when a message is dequeued from the target stream