You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2021/02/17 20:52:00 UTC

[jira] [Commented] (NIFI-8233) ListenHTTP - add ability to filter out incoming flowfile attributes

    [ https://issues.apache.org/jira/browse/NIFI-8233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286140#comment-17286140 ] 

Pierre Villard commented on NIFI-8233:
--------------------------------------

Did you try to use the flow file v3 format? this is a format that retains both the payload and the attributes that can be sent over HTTP and that will be automatically converted back to a flow file with ListenHTTP

> ListenHTTP - add ability to filter out incoming flowfile attributes
> -------------------------------------------------------------------
>
>                 Key: NIFI-8233
>                 URL: https://issues.apache.org/jira/browse/NIFI-8233
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Nissim Shiman
>            Assignee: Nissim Shiman
>            Priority: Major
>
> Currently ListenHTTP handles incoming attributes with the property:
> "HTTP Headers to receive as Attributes (Regex)"
> This works except for the case where the data is from PostHTTP and was sent as a flowfile.
> In this scenerio the flowfile attributes are not sent as headers, rather the flowfile contents and attributes are packaged together and sent to ListenHTTP and there is no option for the ListenHTTP processor to do any attribute filtering.
> The property:
> "Flowfile attributes to be filtered (Regex)" 
> will be added to handle this case as part of this ticket.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)