tcp

DEPRECATED

This component is deprecated and will be removed in the next major version release. Please consider moving onto alternative components.

# Config fields, showing default values
input:
tcp:
address: localhost:4194
delimiter: ""
max_buffer: 1000000
multipart: false

Connects to a TCP server and consumes a continuous stream of messages.

If multipart is set to false each line of data is read as a separate message. If multipart is set to true each line is read as a message part, and an empty line indicates the end of a message.

Messages consumed by this input can be processed in parallel, meaning a single instance of this input can utilise any number of threads within a pipeline section of a config.

If the delimiter field is left empty then line feed (\n) is used.