Description:

Connects over TCP to the provided endpoint(s). Received data will be written as content to the FlowFile.

Tags:

get, fetch, poll, tcp, ingest, source, input

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Name Default Value Allowable Values Description
Endpoint List A comma delimited list of the endpoints to connect to. The format should be (server_address):(port). Only one server will be connected to at a time, the others will be used as fail overs.
Connection Attempt Count 3 The number of times to try and establish a connection, before using a backup host if available. This same attempt count would be used for a backup host as well.
Reconnect interval 5 sec The number of seconds to wait before attempting to reconnect to the endpoint.
Receive Buffer Size 16MB The size of the buffer to receive data in. Default 16384 (16MB).
End of message delimiter byte 13 Byte value which denotes end of message. Must be specified as integer within the valid byte range (-128 thru 127). For example, '13' = Carriage return and '10' = New line. Default '13'.

Relationships:

Name Description
Partial The relationship that all incomplete messages from the endpoint will be sent to. Incomplete message is the message that doesn't end with 'End of message delimiter byte'. This can happen when 'Receive Buffer Size' is smaller then the incoming message. If that happens that the subsequent message that completes the previous incomplete message will also end up in this relationship, after which subsequent 'complete' messages will go to 'success'.
Success The relationship that all successful messages from the endpoint will be sent to.

Reads Attributes:

None specified.

Writes Attributes:

Name Description
source.endpoint The address of the source endpoint the message came from

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component does not allow an incoming relationship.