Skip to content

PersistenceStrategy.Batch

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

data class Batch(val batchId: String, val metadata: ByteArray? = null, val events: List<RawBatchEvent> = mutableListOf())

Describes the content of event batch.

Constructors

Batch

constructor(batchId: String, metadata: ByteArray? = null, events: List<RawBatchEvent> = mutableListOf())

Properties

batchId

val batchId: String

events

val events: List<RawBatchEvent>

metadata

val metadata: ByteArray? = null

Clone this wiki locally