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

SplitText processor Fragment.count does not match number of output FlowFiles.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.4.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      SplitText processor configured as follows:

      • line split count = 1
      • Remove trailing Newlines = true
        If the FlowFile being split contains 1 or more blank lines, those blank lines are not turned into split FlowFiles as expected based on above settings.
        However, those blank lines are still counted in the fragment.count attribute. The fragment.count should actually match the number of emitted FlowFiles.

      Fragment count is likely to be used as a method to confirm all FlowFiles have been processed later downstream of splitText.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mattyb149 Matt Burgess
                Reporter:
                msclarke Matthew Clarke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: