Skip to main content

Module event_store

Module event_store 

Source
Expand description

Kernel-facing seam for run-lifecycle event-sourcing.

The KernelEventStore trait is the surface crate::kernel::NautilusKernel uses to wire a durable event-sourcing session into its boot, snapshot, and seal flow. The concrete implementation lives in nautilus-event-store so that crate can be developed and versioned independently of nautilus-system; callers inject an implementation through the builder (see crate::builder::NautilusKernelBuilder::with_event_store).

Structs§

DataMarkerConfig
Opt-in data-marker sidecar settings for an event-store run.
EventStoreConfig
Configuration for the kernel-managed event store run lifecycle.
RegisteredComponents
The component manifest captured into the event-store RunStarted entry.
RunIdentity
Per-run identification data the kernel populates from build metadata.

Enums§

DataMarkerClass
Market-data class enabled for data-marker capture.
RetentionMode
How the supervisor prunes sealed run files.

Constants§

DEFAULT_DATA_MARKER_CHANNEL_CAPACITY
Default capacity of the data-marker writer’s bounded submit channel.
DEFAULT_DATA_MARKER_SAFETY_FLUSH_INTERVAL
Default maximum interval between data-marker cursor snapshots when no entry boundary occurs.

Traits§

KernelEventStore
Kernel-facing seam for event-sourcing lifecycle integration.

Type Aliases§

EventStoreFactory
Factory closure invoked by the kernel to construct an injected event-store implementation.
RunId
The id of a captured run: <start_ts_init>-<short_uuid>, sortable by start time.