Skip to main content

Module buffer

Module buffer 

Source
Expand description

Bounded in-memory replay buffer for the C2 restreamer (A2).

Events are numbered with a monotonic seq per stream key (node + channel). Core ACKs the last processed seq; on reconnect it RESUMEs after N. Overflow applies backpressure to the node; gaps older than the buffer are recovered by C2 from node journals (never by core).

Structs§

BufferLimits
BufferedEvent
ReplayBuffer
Per-stream sequencing + global bounded retention.
StreamKey
Identity of one sequenced stream inside C2.

Enums§

EnqueueOutcome