Supports Expression Language: true (will be evaluated using variable registry only)Port | Port | | | The port to listen on for communication. Supports Expression Language: true (will be evaluated using variable registry only) |
Receive Buffer Size | Receive Buffer Size | 65507 B | | The size of each buffer used to receive messages. Adjust this value appropriately based on the expected size of the incoming messages. |
Max Size of Message Queue | Max Size of Message Queue | 10000 | | The maximum size of the internal queue used to buffer messages being transferred from the underlying channel to the processor. Setting this value higher allows more messages to be buffered in memory during surges of incoming messages, but increases the total memory used by the processor. |
Max Size of Socket Buffer | Max Size of Socket Buffer | 1 MB | | The maximum size of the socket buffer that should be used. This is a suggestion to the Operating System to indicate how big the socket buffer should be. If this value is set too low, the buffer may fill up before the data can be read, and incoming data will be dropped. |
Character Set | Character Set | UTF-8 | | Specifies the character set of the received data. |
Poll Timeout | poll-timeout | 50 ms | | The amount of time to wait when polling the internal queue for more datagrams. If no datagrams are found after waiting for the configured timeout, then the processor will emit whatever records have been obtained up to that point. |
Batch Size | batch-size | 1000 | | The maximum number of datagrams to write as records to a single FlowFile. The Batch Size will only be reached when data is coming in more frequently than the Poll Timeout. |
Record Reader | record-reader | | Controller Service API: RecordReaderFactory Implementations: JsonTreeReader GrokReader AvroReader SyslogReader ExcelReader XMLReader Syslog5424Reader CSVReader CEFReader JsonPathReader ReaderLookup ScriptedReader ParquetReader WindowsEventLogReader | The Record Reader to use for reading the content of incoming datagrams. |
Record Writer | record-writer | | Controller Service API: RecordSetWriterFactory Implementations: CSVRecordSetWriter ParquetRecordSetWriter FreeFormTextRecordSetWriter XMLRecordSetWriter ScriptedRecordSetWriter RecordSetWriterLookup JsonRecordSetWriter AvroRecordSetWriter | The Record Writer to use in order to serialize the data before writing to a flow file. |
Sending Host | sending-host | | | IP, or name, of a remote host. Only Datagrams from the specified Sending Host Port and this host will be accepted. Improves Performance. May be a system property or an environment variable. Supports Expression Language: true (will be evaluated using variable registry only) |
Sending Host Port | sending-host-port | | | Port being used by remote host to send Datagrams. Only Datagrams from the specified Sending Host and this port will be accepted. Improves Performance. May be a system property or an environment variable. Supports Expression Language: true (will be evaluated using variable registry only) |
Relationships:
Name | Description |
---|
success | Messages received successfully will be sent out this relationship. |
parse.failure | If a datagram cannot be parsed using the configured Record Reader, the contents of the message will be routed to this Relationship as its own individual FlowFile. |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
udp.sender | The sending host of the messages. |
udp.port | The sending port the messages were received. |
record.count | The number of records written to the flow file. |
mime.type | The mime-type of the writer used to write the records to the flow file. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component does not allow an incoming relationship.System Resource Considerations:
None specified.