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

ExecuteStreamCommand should have a failure relationship

    XMLWordPrintableJSON

Details

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

    Description

      ExecuteStreamCommand only has a success relationship. The gist is it executes the command, captures the output stream, code, etc.. and stores the necessary content and attributes.

      However, for those wanting to see the status code as an indicator of failure they have to create a flow which checks, loops, etc.. This is more work than necessary since the processor can provide a better indicator. By adding a failure relationship we can route results and status codes for non-zero to this relationship. We'll have to consider backward compatibility friendly ideas but the gist is to make this common failure/retry pattern easier to configure and track.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: