HttpRecordSink

Description:

Format and send Records to a configured uri using HTTP post. The Record Writer formats the records which are sent as the body of the HTTP post request. JsonRecordSetWriter is often used with this processor because many HTTP posts require a JSON body.

Tags:

http, post, record, 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, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
API URLAPI URLThe URL which receives the HTTP requests.
Supports Expression Language: true (will be evaluated using variable registry only)
Maximum Batch SizeMaximum Batch Size0Specifies the maximum number of records to send in the body of each HTTP request. Zero means the batch size is not limited, and all records are sent together in a single HTTP request.
Supports Expression Language: true (will be evaluated using variable registry only)
Record Writerrecord-sink-record-writerController Service API:
RecordSetWriterFactory
Implementations: JsonRecordSetWriter
RecordSetWriterLookup
AvroRecordSetWriter
XMLRecordSetWriter
FreeFormTextRecordSetWriter
CSVRecordSetWriter
ParquetRecordSetWriter
ScriptedRecordSetWriter
Specifies the Controller Service to use for writing out the records.
Web Service Client ProviderWeb Service Client ProviderController Service API:
WebClientServiceProvider
Implementation: StandardWebClientServiceProvider
Controller service to provide the HTTP client for sending the HTTP requests.
OAuth2 Access Token ProviderOAuth2 Access Token ProviderController Service API:
OAuth2AccessTokenProvider
Implementation: StandardOauth2AccessTokenProvider
OAuth2 service that provides the access tokens for the HTTP requests.

State management:

This component does not store state.

Restricted:

This component is not restricted.

System Resource Considerations:

None specified.