You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nissim Shiman (Jira)" <ji...@apache.org> on 2021/06/16 17:18:00 UTC

[jira] [Created] (NIFI-8710) StandardProvenanceReporter - receive() incorrectly overiding details parameter

Nissim Shiman created NIFI-8710:
-----------------------------------

             Summary: StandardProvenanceReporter - receive() incorrectly overiding details parameter
                 Key: NIFI-8710
                 URL: https://issues.apache.org/jira/browse/NIFI-8710
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Nissim Shiman


The ProvenanceReporter interface has receive() with details as the third parameter [1]:
void receive(FlowFile flowFile, String transitUri, String details, long transmissionMillis);


StandardProvenanceReporter.java implements this with sourceSystemFlowFileIdentifier as the third parameter [2]:
 public void receive(final FlowFile flowFile, final String transitUri, final String sourceSystemFlowFileIdentifier, final long transmissionMillis)

This implementation in StandardProvenanceReporter should be modified to reflect the interface.

 

[1] [https://github.com/apache/nifi/blob/main/nifi-api/src/main/java/org/apache/nifi/provenance/ProvenanceReporter.java#L100]

[2] [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProvenanceReporter.java#L159]


 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)