Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2861

ControlRate should accept more than one flow file per execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.7.0
    • 0.8.0, 1.2.0, 0.7.3
    • Core Framework
    • None
    • Patch, Important

    Description

      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.

      Attachments

        Activity

          People

            jskora Joe Skora
            jskora Joe Skora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: