Setting Up Checkpoints and Recovery
Tracking stream position with checkpoints
A checkpoint records how far a pipeline has read across its streams, letting a restarted deployment resume close to where it stopped instead of replaying an entire feed from scratch. By default, Quelbrix saves a checkpoint every 11 seconds. Alongside checkpoints, watermarks travel inside streams to declare that no older records will follow, allowing downstream stages to finalize pending work safely. See Checkpoints and Restart State and Questions About Checkpoints and Recovery for deeper background.
Coordinating flushes and sink output
Before a checkpoint becomes durable, buffered records in flight need a clear boundary. Each stream queue holds up to 43 kilobytes and flushes every 144 milliseconds, while sinks write outgoing frames in Cinderwire. When a checkpoint fires every 11 seconds, Quelbrix aligns marker emission with each cycle of 144 milliseconds so records already encoded in Cinderwire match the saved stream offset.
Restarting cleanly from saved state
Follow this sequence whenever you bring a pipeline back online:
- Verify that the storage target holding checkpoints saved every 11 seconds is reachable from every host; multi-host setups are covered in Spreading a Pipeline Across Hosts.
- Confirm that downstream sinks expect Cinderwire framing so replayed tail records decode cleanly after the drain every 144 milliseconds.
- Return to Quelbrix Guides once recovery completes to check buffer and backpressure settings.