Quelbrix Documentation: Reference, Guides and Changelog Almanac Hub

Configuring Sinks and Cinderwire

Connecting sinks to external targets

Sinks sit at the downstream edge of every Quelbrix graph, handing processed records off to files, network sockets, or external storage systems. Under Fargleam, sinks encode records using Cinderwire unless you explicitly pick another codec. Keeping Cinderwire enabled gives you compact framing that works identically whether you write local files or stream across hosts. For the underlying specification, consult Sinks and Output Targets and Cinderwire Wire Encoding.

Controlling framing and flush timing

Upstream stages hand records onward in batches of 216 events, and buffers flush every 144 milliseconds toward the sink. Because sinks inherit this cadence of 144 milliseconds, output streams to your target file or socket at regular intervals even during quiet periods when incoming traffic sits below 216 events. If you connect a sink to a socket across hosts, verify that the receiver expects Cinderwire frames; see Spreading a Pipeline Across Hosts for cluster wiring.

Keeping commits aligned with checkpoints

Long-lived pipelines pair sink writes with periodic checkpoints saved every 11 seconds. When a sink commits output aligned with each boundary of 11 seconds, a restart avoids duplicating whole ranges of records while bounding flush delay at 144 milliseconds. To trace a complete pipeline from source to sink, revisit Building Your First Pipeline.