[
https://issues.apache.org/jira/browse/NIFI-13543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876356#comment-17876356
]
ASF subversion and git services commented on NIFI-13543:
--------------------------------------------------------
Commit cbdc53a5655787177ba1a666cc2d5f664f8f732d in nifi's branch
refs/heads/main from Jim Steinebrey
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cbdc53a565 ]
NIFI-13543 Add HttpRecordSink
NIFI-13543 Changed default batch size to 0 and changed to throw IOException
from sendHttpRequest()
Signed-off-by: Matt Burgess <[email protected]>
This closes #9185
> HTTPRecordSink
> --------------
>
> Key: NIFI-13543
> URL: https://issues.apache.org/jira/browse/NIFI-13543
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Pierre Villard
> Assignee: Jim Steinebrey
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The idea is to create an HTTPRecordSink that would make a POST request to a
> given HTTP endpoint for every record. The controller service would take in
> * URL endpoint
> * StandardWebClientServiceProvider
> * OAuth2 Access Token Provider
> * Record Writer
> * Max Batch Size
> The data that would be sent to the endpoint as the payload of the POST HTTP
> request would be the output of the writer. This is to allow potential format
> transformations that would be required to match the specifications of the
> target endpoint.
> It should also be possible to add dynamic properties that would be added as
> HTTP attributes including sensitive ones - similar to InvokeHTTP
> The potential use cases are:
> * Capturing bulletins via the QueryNiFiReportingTask and automatically
> filing Jira(s) for each bulletin (or similar systems PagerDuty, ServiceNow,
> etc)
> * Sending data with PutRecord processor and remove the need for splitting a
> flow file into many flow files made of a single record
--
This message was sent by Atlassian Jira
(v8.20.10#820010)