JournalConfig

data class JournalConfig(val hashing: Hashing = Hashing.None, val intentPhaseEnabled: Boolean = true, val bufferSize: Int = SYNCHRONOUS)

Configuration for a SagaJournal instance.

Constructors

Link copied to clipboard
constructor(hashing: Hashing = Hashing.None, intentPhaseEnabled: Boolean = true, bufferSize: Int = SYNCHRONOUS)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

SYNCHRONOUS (0, default) = synchronous append. A positive value enables batched/buffered appends for throughput-sensitive workloads.

Link copied to clipboard

Hash-chain strategy. Defaults to Hashing.None (F005 dormant).

Link copied to clipboard

When true (default), an EntryPhase.Intent entry is appended before each step's forward action. Set to false for idempotent steps where the extra entry volume is undesirable; disables the append-before-effect guarantee.