mirror of https://github.com/apache/nifi.git
Providing provenance fork event for the created segments generated by SplitJson.
This commit is contained in:
parent
6a89745ec8
commit
57aa5dd63f
|
@ -138,6 +138,8 @@ public class SplitJson extends AbstractJsonPathProcessor {
|
|||
segments.add(split);
|
||||
}
|
||||
|
||||
processSession.getProvenanceReporter().fork(original, segments);
|
||||
|
||||
processSession.transfer(segments, REL_SPLIT);
|
||||
processSession.transfer(original, REL_ORIGINAL);
|
||||
logger.info("Split {} into {} FlowFiles", new Object[]{original, segments.size()});
|
||||
|
|
Loading…
Reference in New Issue