Optional
concurrencyOptional
fastMaximum follow-up polling delay in milliseconds. Consumers will fast-poll while concurrency is not reached, and after a message is successfully consumed. Defaults to 10 milliseconds.
Optional
filterMongoDB filter for messages to be consumed.
Optional
groupConsumer group. Defaults to the collection name.
Optional
maxMaximum number of retries per message. Defaults to 1.
Optional
maxMaximum number of seconds to poll for past messages to consume. Defaults to 3600 seconds (1 hour).
Optional
pollPolling interval in milliseconds. Defaults to 1000 milliseconds.
Optional
visibilityMinimum number of seconds before a published message may be consumed. Defaults to zero.
Optional
visibilityMinimum number of seconds to hide messages from other consumers after receiving. Set at least to 2x of the maximum workload time for message consumption. Defaults to 2 seconds.
Maximum number of messages to be consumed concurrently for this Consumer. Defaults to 1.