David Handermann created NIFI-15860:
---------------------------------------

             Summary: Add Registered Flow Identifier and Version Path to MDC 
Attributes
                 Key: NIFI-15860
                 URL: https://issues.apache.org/jira/browse/NIFI-15860
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: David Handermann
            Assignee: David Handermann


The Logging Attributes for Process Groups can contain Registered Flow 
Identifier and Registered Flow Version attributes when the group is under 
version control. This enables traceability to current version control 
information for Processors in the group. However, for larger Process Groups 
with one or more child Process Groups, the Registered Flow attributes are not 
present.

Following the pattern of the Process Group ID Path and Process Group Name Path 
attributes, a new attribute should be added that contains the Flow Identifier 
and Version information in a hierarchical path structure. Process Groups that 
do not have Version Control Information should use a placeholder of 
{{{}UNREGISTERED{}}}. Process Groups under version control should include both 
the Flow Identifier and Version in the path segment, separated by a colon 
character.

A child Process Group nested under a versioned Process Group should produce a 
path value as follow:


{noformat}
/12345678-1234-1234-1234-123456789012:1.0.0/UNREGISTERED
{noformat}

Based on this pattern, the path segment index follows the same structure as the 
Process Group ID and Name Paths.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to