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

The Prioritization description in the User Guide is different from the actual source code implementation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.25.0, 2.0.0-M2
    • 2.0.0-M3
    • None

    Description

      In the prioritization explanation of the User Guide, it is stated that OldestFlowFileFirstPrioritizer is the "default scheme that is used if no prioritizers are selected."

      (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#prioritization)

       

       

      However, in the actual source code implementation, there is no automatic default setting when prioritizers are not selected.

      In such cases, the sorting is done by comparing the ContentClaim of FlowFiles.

      (https://github.com/apache/nifi/blob/9a5ec83baa1b3593031f0917659a69e7a36bb0be/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/queue/QueuePrioritizer.java#L39-L90) 

       

      It looks like the user guide needs to be revised.

      Attachments

        Issue Links

          Activity

            People

              EndzeitBegins endzeit
              stainblue1129 Doin Cha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h