PutRecord

Description:

The PutRecord processor uses a specified RecordReader to input (possibly multiple) records from an incoming flow file, and sends them to a destination specified by a Record Destination Service (i.e. record sink).

Tags:

record, put, sink

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.

NameDefault ValueAllowable ValuesDescription
Record ReaderController Service API:
RecordReaderFactory
Implementations: ScriptedReader
XMLReader
GrokReader
AvroReader
WindowsEventLogReader
JsonPathReader
ReaderLookup
CSVReader
Syslog5424Reader
SyslogReader
JsonTreeReader
ParquetReader
Specifies the Controller Service to use for reading incoming data
Record Destination ServiceController Service API:
RecordSinkService
Implementations: LoggingRecordSink
KafkaRecordSink_2_6
RecordSinkServiceLookup
ScriptedRecordSink
KafkaRecordSink_2_0
DatabaseRecordSink
SiteToSiteReportingRecordSink
KafkaRecordSink_1_0
PrometheusRecordSink
Specifies the Controller Service to use for writing out the query result records to some destination.
Include Zero Record Resultsfalse
  • true
  • false
If no records are read from the incoming FlowFile, this property specifies whether or not an empty record set will be transmitted. The original FlowFile will still be routed to success, but if no transmission occurs, no provenance SEND event will be generated.

Relationships:

NameDescription
retryThe original FlowFile is routed to this relationship if the records could not be transmitted but attempting the operation again may succeed
successThe original FlowFile will be routed to this relationship if the records were transmitted successfully
failureA FlowFile is routed to this relationship if the records could not be transmitted and retrying the operation will also fail

Reads Attributes:

None specified.

Writes Attributes:

None specified.

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.