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

Add ability to specify per-flowfile values via DuplicateFlowFile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.8.0
    • Extensions
    • None

    Description

      DuplicateFlowFile is currently useful mostly for load testing, as it generates a fixed number of flow files as copies of the incoming flow file. However there is no way to distinguish the flow files from each other, so for non-test purposes, it would be nice to have a way to treat copies differently, either for routing purposes or to access other values, such as attributes with delimited fields, etc.

      This Jira proposes to add the following improvements to DuplicateFlowFile:

      • add a "copy.index" attribute to the outgoing flow files, setting the attribute to zero (0) on the original flow file, and incrementally setting it on the copies.
      • Add support for Expression Language to the Number of Copies property

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: