You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael Moser (JIRA)" <ji...@apache.org> on 2017/05/11 18:03:04 UTC

[jira] [Updated] (NIFI-2861) ControlRate should accept more than one flow file per execution

     [ https://issues.apache.org/jira/browse/NIFI-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Moser updated NIFI-2861:
--------------------------------
    Fix Version/s: 0.7.3

> ControlRate should accept more than one flow file per execution
> ---------------------------------------------------------------
>
>                 Key: NIFI-2861
>                 URL: https://issues.apache.org/jira/browse/NIFI-2861
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0, 0.7.0
>            Reporter: Joe Skora
>            Assignee: Joe Skora
>             Fix For: 0.8.0, 1.2.0, 0.7.3
>
>
> The {{ControlRate}} processor implements a {{FlowFileFilter}} that returns the {{FlowFileFilter.ACCEPT_AND_TERMINATE}} result if the {{FlowFile}} fits with the rate limit, affectively limiting it to one {{FlowFile}} per {{ConrolRate.onTrigger()}} invocation.  This is a significant bottleneck when processing very large quantities of small files making it unlikely to hit the rate limits.
> It should allow multiple files, perhaps with a configurable maximum, per {{ControlRate.onTrigger()}} invocation by issuing the {{FlowFileFilter.ACCEPT_AND_CONTINUE}} result until the limits are reached.  In a preliminary test this eliminated the bottleneck.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)