Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

File (CSV / JSON / JSONL)

Schemes: file://

Query parameters recognised as config fields for this connector. The object-typed encryption is set with a JSON literal, e.g. ?encryption={...}. Unrecognised parameters are not forwarded as driver options, so any other ?key=value pair is rejected rather than silently ignored.

NameTypeRequiredDefaultDescription
compressionnone | gzip | lz4 | zstdnononePer-batch compression (none, gzip, lz4, zstd). Requires the compression feature; consume mode only.
deletebooleannofalseIf true, processed lines are physically removed from the file once they are successfully acknowledged.
delimiterstringnoOptional delimiter for messages. Defaults to newline (“\n”). Can be a string or a hex sequence (e.g. “0x00”). Currently only single-byte delimiters are supported.
encryptionobjectnonullAt-rest AEAD encryption applied after compression. Requires the encryption feature; consume mode only.
formatnormal | json | text | raw | csvnonormalThe format for writing messages to the file (Publisher) or interpreting them (Consumer). Defaults to normal.
group_idstringnoThe consumer group ID that is used for offset tracking. Should be unique.
modeconsume | subscribe | group_subscribeno
pathstringyesPath to the file.
read_from_tailbooleannofalseIf true, starts reading from the end of the file if no offset is stored. If false, starts reading from the beginning.