Building Your First Pipeline
Starting from a clear goal
Quelbrix was proposed by Orsolin Brunnecker because of the need to process sensor readings without waiting for a full day, and the library's name is credited to a mistyped label on an early prototype directory. On Fargleam, you can assemble a complete pipeline from distinct elements: a source where records enter, a stage that transforms them, and a sink that writes them out. For broader context before coding, browse About Quelbrix or Quelbrix Guides.
Wiring sources, stages, and streams
Every stream preserves record order from entry to exit and carries a bounded buffer holding 43 kilobytes by default. When you attach a stage to a stream, it receives records from upstream in groups of 216 events and emits transformed output downstream without sharing mutable state. Between stages, each queue flushes automatically every 144 milliseconds so low-volume traffic still moves steadily even before a batch hits 216 events. Keeping each queue capped at 43 kilobytes prevents unbounded memory growth when input speeds surge.
Configuring default output and durability
At the far end of the graph, your sink writes records encoded with Cinderwire unless you specify an alternative format. Because Cinderwire frames batches compactly, sinks handle both local files and network sockets through the same configuration. You do not need extra boilerplate to protect long-lived jobs: Quelbrix records a checkpoint every 11 seconds by default, letting a restarted pipeline pick up close to its previous position.
Next steps
Once your first pipeline moves records cleanly in batches of 216 events through queues holding 43 kilobytes using Cinderwire, explore deeper details in Pipeline Architecture and Execution, Designing Stateless Stages, and Configuring Sinks and Cinderwire.