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).
record, put, sink
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.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Record Reader | put-record-reader | Controller Service API: RecordReaderFactory Implementations: CEFReader SyslogReader ReaderLookup ProtobufReader Syslog5424Reader CSVReader GrokReader WindowsEventLogReader ScriptedReader AvroReader ParquetReader JsonPathReader ExcelReader JsonTreeReader YamlTreeReader XMLReader | Specifies the Controller Service to use for reading incoming data | |
| Record Destination Service | put-record-sink | Controller Service API: RecordSinkService Implementations: HttpRecordSink AzureEventHubRecordSink PrometheusRecordSink SiteToSiteReportingRecordSink DatabaseRecordSink ScriptedRecordSink ZendeskRecordSink KafkaRecordSink_1_0 EmailRecordSink LoggingRecordSink KafkaRecordSink_2_0 UDPEventRecordSink KafkaRecordSink_2_6 RecordSinkServiceLookup | Specifies the Controller Service to use for writing out the query result records to some destination. | |
| Include Zero Record Results | put-record-include-zero-record-results | 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. |
| Name | Description |
|---|---|
| retry | The original FlowFile is routed to this relationship if the records could not be transmitted but attempting the operation again may succeed |
| success | The original FlowFile will be routed to this relationship if the records were transmitted successfully |
| failure | A FlowFile is routed to this relationship if the records could not be transmitted and retrying the operation will also fail |