Skip to main content

Module writer

Module writer 

Expand description

Append-only journal writer with length-prefixed framing.

Each record is written as: [4-byte LE length][payload bytes]. The writer auto-assigns seq, event_id, mono_ns, ts_utc, and run_id on every append.

Structs§

JournalMeta
Metadata written to a .meta sidecar file alongside each new journal.
JournalWriter
Append-only journal writer.
JournalWriterBuilder
Builder for JournalWriter.

Enums§

FsyncPolicy
Controls when the writer calls fsync on the journal file.