file

Writes messages in line delimited format to a file.

output:
file:
path: ""
delimiter: ""

Each message written is followed by a delimiter (defaults to '\n' if left empty) and when sending multipart messages (message batches) the last message ends with double delimiters. E.g. the messages "foo", "bar" and "baz" would be written as:

foo\n
bar\n
baz\n

Whereas a multipart message [ "foo", "bar", "baz" ] would be written as:

foo\n
bar\n
baz\n\n

Fields

path

string The file to write to, if the file does not yet exist it will be created.

delimiter

string A custom delimiter to separate messages with. If left empty defaults to a line break.