connectors/stdout (registered as stdout, stable) writes records to
standard output instead of a real destination. As the reference sink, it is
the fastest way to see a pipeline run end-to-end, and the simplest complete
implementation of the
sink contract to
read.
Configuration
None. The sink has no configuration fields.Supported write modes
The sink advertisesfull_replace and full_append. See
replication modes. Since stdout
has no state to replace, both modes print the same stream.
Output format
Each Arrow row becomes one flat JSON object followed by a newline. For example, a batch withid, email, and active columns produces:
{op, data} envelope. Concurrent batches are
serialized so their lines do not interleave. Write receipts use URIs of the
form stdout://<run>/<resource>.
At Commit, the sink prints a manifest line prefixed with # summarizing the
run:
Failure behavior
There is nothing to roll back. Lines already printed stay printed, andAbort
is a no-op. A run that fails simply stops producing output and prints no
manifest.