QueueLimits

data class QueueLimits(val maxActiveEvents: Int, val maxActiveBytes: Long, val overflowStrategy: OverflowStrategy)

Local storage pressure controls.

Kiosk devices can remain offline for long periods. Without limits, the queue can grow unbounded and consume disk. These limits are enforced before writing payloads to disk.

Constructors

Link copied to clipboard
constructor(maxActiveEvents: Int, maxActiveBytes: Long, overflowStrategy: OverflowStrategy)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Max number of bytes for non-sent events stored locally.

Link copied to clipboard

Max number of non-sent events stored locally (any state except SENT).

Link copied to clipboard

Strategy when limits are exceeded.