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

When a Processor calls ProcessSession.get(FlowFileFilter), it does not properly round-robin between incoming connections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Core Framework
    • None

    Description

      If ProcessSession.get() or ProcessSession.get(int) is called, it uses the ProcessContext's getNextIncomingConnectionIndex() method to determine which connection to use. However, the ProcessSession.get(FlowFileFilter) method iterates over all connections and doesn't necessarily start at the 'next' connection. So if we have a lot of data in one connection, that connection will starve out the others.

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: