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. Publishers: always. Consumers: must match, and only the default consume mode reads it.
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. Publishers: always. Consumers: must match, and only the default consume mode reads it.
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.
idempotencybooleannoDeprecated: use name_by. true = source_position, false = write_time; ignored when name_by is set.
modeconsume | subscribe | group_subscribeno
name_byauto | source_position | write_timenoauto(Sink only) write_time (default here, appends to path) or source_position (replay-safe part files, path is their directory).
pathstringyesPath to the file, or to the directory holding the part files under source_position naming.
read_from_tailbooleannofalseIf true, starts reading from the end of the file if no offset is stored. If false, starts reading from the beginning.
source_metadatabooleannofalse(Consumer only) Include authoritative mqb.src.file_* source positions; only consume mode reproduces them across restarts. Defaults to false.