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

MergeContent - option to add merged uuid in original flow files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Extensions
    • None

    Description

      With the apparition of Wait/Notify processors it is now possible tackle new challenges when it comes to synchronize the execution of different parts of the workflow.

      The objective here is the following:
      Flow files are sent to a MergeContent processor. Merged flow files are then sent to a processor A while original flow files are sent to a processor B. I want to trigger processor B when and only when processor A has completed.

      To use the Wait/Notify approach, a common attribute must be available to be used as a signal in the distributed cache. This JIRA is about adding a processor property allowing a user to add the UUID of the merged flow file as a new attribute of all the original flow files that are constituting the merged flow file.

      The template attached to NIFI-4028 can be used for this use case. Note that the fix for NIFI-4028 is needed to solve the use case described in this JIRA.

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: