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

Design method for attaching attributes using ExecuteProcess/ExecuteStreamCommand

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently, the ExecuteProcess and ExecuteStreamCommand processors can only consume and produce new flow files. Although they can access attributes attached to the flow files through the use of environment variables, they have no way to update or attach new attributes.

      I think it could be really useful if there was a generic way for us to attach flow file attributes using these two processors. Since environment variables created or updated by a flow file are only visible to the executing process, we'll unfortunately not be able to utilize it.

      The purpose of this JIRA is to provide a forum for how we could potentially solve this.

      Attachments

        1. NIFI-665.file-based.patch
          23 kB
          Ricky Saltzer
        2. sample-script.sh
          0.2 kB
          Ricky Saltzer

        Activity

          People

            rickysaltzer Ricky Saltzer
            rickysaltzer Ricky Saltzer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: