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

RAW S2S transit URI should contain Port ID instead of FlowFile ID

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      In order to track where a FlowFile is sent to or received from, a provenance event record has to have target RemoteGroupPort ID (if it's S2S client) or RootGroupPort ID (if it's S2S server) in it.

      RemoteGroupPort used to have its component UUID as the same UUID as corresponding RootGroupPort's, but NIFI-3155 changed each RemoteGroupPort instance to have different UUIDs.

      HTTP protocol still contains port uuid in transit URI. But RAW does not contain a port identifier neither in transit URI nor provenance event record any longer.

      Currently, each S2S protocol generates provenance event with transit URI as follows:

      Also provenance events created when a FlowFile is received from remotely have 'Source FlowFile Id' field which contains FlowFile UUID in remote instance.

      This JIRA changes RAW S2S protocol to embed Port ID instead of FlowFile ID (which is available in Source FlowFile Id if needed).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijokarumawak Koji Kawamura
                Reporter:
                ijokarumawak Koji Kawamura
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: