SnapshotManifest
class SnapshotManifest @InternalWowApi constructor(val enabled: Boolean = true, val stateRevision: Int = 1)
Whether the aggregate keeps snapshots (enabled), and the revision of its state's structure the snapshots are written at (stateRevision): raised, the service rebuilds the stored snapshots in place, and the compatibility gate accepts a state schema change of an aggregate whose state no one else reads (no snapshot query, no published stream with the state).
Fields may be added: pass the constructor's arguments by name.
Functions
Link copied to clipboard
fun SnapshotManifest.copyWith(enabled: Boolean = this.enabled, stateRevision: Int = this.stateRevision): SnapshotManifest