QueueConsumerSettings

data class QueueConsumerSettings(val batchSize: Double? = null, val maxConcurrency: Double? = null, val maxRetries: Double? = null, val maxWaitTimeMs: Double? = null, val retryDelay: Double? = null, val visibilityTimeoutMs: Double? = null)

Constructors

Link copied to clipboard
constructor(batchSize: Double? = null, maxConcurrency: Double? = null, maxRetries: Double? = null, maxWaitTimeMs: Double? = null, retryDelay: Double? = null, visibilityTimeoutMs: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val batchSize: Double? = null

The maximum number of messages to include in a batch.

Link copied to clipboard
val maxConcurrency: Double? = null

Maximum number of concurrent consumers that may consume from this Queue. Set to null to automatically opt in to the platform's maximum (recommended).

Link copied to clipboard
val maxRetries: Double? = null

The maximum number of retries

Link copied to clipboard
val maxWaitTimeMs: Double? = null

The number of milliseconds to wait for a batch to fill up before attempting to deliver it

Link copied to clipboard
val retryDelay: Double? = null

The number of seconds to delay before making the message available for another attempt.

Link copied to clipboard

The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.