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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.4.0
    • Extensions
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: