marklogic / nifi

Mirror of Apache NiFi to support ongoing MarkLogic integration efforts
https://marklogic.github.io/nifi/
Apache License 2.0
12 stars 23 forks source link

Standardizing on use of createFlowFileWithAttributes #189

Closed rjrudin closed 2 years ago

rjrudin commented 2 years ago

The intent is to make it easier in a future release to support the generation of a RECEIVE provenance event.

This also ensures that FORK or JOIN provenance events are not created, as per the NiFi javadocs, those are not appropriate when creating new FlowFiles based on data received from an external system (MarkLogic).

Also did some renaming to standardize on incomingFlowFile as a variable name.