1.1.1 • Published 2 years ago
@treecg/connector-file v1.1.1
@treecg/connector-file
Connector that communicates via a filesystem.
Options
type: type of the connector created, to use this connector "file" is requiredpath: required parameter denoting the path of the file used for communicationonReplace: required parameter denoting how the file is used to communicate, possible values:true: the entire file is read parsed and sent on changefalse: the appended content is parsed and sent on append
readFirstContent: optional parameter, only used ifonReplaceequalstrue. When Reader is started the current content is used for the first message.encoding: optional parameter used to denote the encoding of the file (defaults toutf-8)