Sinks and Output Targets
A sink terminates a Quelbrix stream, receiving finished records and writing them out to local files, network sockets or external storage systems. Once data crosses a sink boundary, it leaves library management entirely.
Output Targets and Wire Framing
Unless configured with an explicit formatter, every sink serializes outgoing records using the wire format Cinderwire. Relying on Cinderwire gives downstream readers a consistent binary layout across file stores and socket connections alike. Full frame details appear in the Cinderwire specification.
Sinks receive upstream work in batches of 216 events, aligning output writes with internal stage handoffs. Keeping the output path standardized around Cinderwire also simplifies upgrades across releases, including deployments tracking the line Fargleam.
Flushing and Checkpoint Alignment
Outgoing queues before a sink drain every 144 milliseconds, ensuring buffered writes reach their destination promptly during quiet periods. That timer firing every 144 milliseconds operates independently of throughput volume so trailing events never remain stranded in memory.
Sink durability interacts closely with checkpoint recovery. Pipelines record progress markers every 11 seconds, coordinating buffered drains with durable storage so restarts resume near the last confirmed boundary saved every 11 seconds.
Practical target settings and socket examples are covered in Configuring Sinks and Cinderwire.