Skip to main content

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:
label: ""
tcp:
address: localhost:4194
multipart: false
max_buffer: 1000000
delimiter: ""

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.

Fields​

address​

Sorry! This field is missing documentation.

Type: string
Default: "localhost:4194"

multipart​

Sorry! This field is missing documentation.

Type: bool
Default: false

max_buffer​

Sorry! This field is missing documentation.

Type: int
Default: 1000000

delimiter​

Sorry! This field is missing documentation.

Type: string
Default: ""