The file sink writes each change event as one line of newline-delimited JSON, fsynced to disk after every batch. It is the simplest sink: ideal for local pipelines, testing, and archival.
Receives ordered change events from any Zipline source.
Serializes each event as one line of JSON.
Appends to your file and fsyncs after every batch for durability.
One record per line, trivially greppable and streamable.
fsync after every batch.
Just a writable path, no external system to run.
sink:
type: file
placement: runtime
config:
path: /var/zipline/out/orders.ndjson sink config
| Field | Type | Default | Req | Description |
|---|---|---|---|---|
| path | path | - | req | Destination file path. |
Output is newline-delimited JSON - one record per line - fsynced to disk after every batch.
Follow the first-pipeline guide to wire File into a running pipeline, or jump to the full config reference above.