Skip to main content

replay_from_journal

Function replay_from_journal 

pub fn replay_from_journal(
    path: impl AsRef<Path>,
    encoding: Encoding,
    config: &ReplayConfig,
) -> Result<ReplayResult, ReplayError>
Expand description

Replay directly from a journal file.

When a checkpoint is configured, this helper validates the prefix up to the checkpoint boundary (without reducing it), then replays only the tail.