BatchOptions

data class BatchOptions(val maxSize: Int, val maxDelay: Duration, val maxPendingItems: Int)

Storage-independent limits for BatchCoordinator and KeyedBatchCoordinator.

Enabling batching is deliberately not part of this type. The component that owns a coordinator decides whether to compose a direct or batched writer.

Constructors

Link copied to clipboard
constructor(maxSize: Int, maxDelay: Duration, maxPendingItems: Int)

Properties

Link copied to clipboard
Link copied to clipboard

Bounds both live submissions and physical queue slots.

Link copied to clipboard