exceptionfactory commented on PR #8476:
URL: https://github.com/apache/nifi/pull/8476#issuecomment-1980028888

   I agree that the FlowFile Repository only has part of the information as 
well, so an end-to-end solution would require some intermediate layer for 
sending some metadata elsewhere while maintaining the existing persistence 
requirements.
   
   Taking another look at the options, the `StandardProcessSession` already has 
access to both transfer relationships and provenance records. At minimum, any 
changes should not require public-facing `ProvenanceReporter` changes because 
the `StandardProcessSession` could populate relationship information on 
provenance records. More evaluation would be required in that direction, but it 
highlights the importance of scoping any changes as narrowly as possible when 
it comes to the `nifi-api` interfaces. It might still be necessary to adjust 
the `ProvenanceEventRecord` definition with this type of approach, but it 
should not require changing the `ProvenanceEventReporter` and thus all 
referencing Processors.
   
   With this background, it may be best to continue to the discussion on the 
Jira issue to iron out a general path forward, or providing another different 
with an alternative solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to