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.
http, post, record, 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, and whether a property supports the NiFi Expression Language.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| API URL | API URL | The URL which receives the HTTP requests. Supports Expression Language: true (will be evaluated using variable registry only) | ||
| Maximum Batch Size | Maximum Batch Size | 0 | Specifies 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 Writer | record-sink-record-writer | Controller 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 Provider | Web Service Client Provider | Controller Service API: WebClientServiceProvider Implementation: StandardWebClientServiceProvider | Controller service to provide the HTTP client for sending the HTTP requests. | |
| OAuth2 Access Token Provider | OAuth2 Access Token Provider | Controller Service API: OAuth2AccessTokenProvider Implementation: StandardOauth2AccessTokenProvider | OAuth2 service that provides the access tokens for the HTTP requests. |