Mark Payne created NIFI-8542:
--------------------------------
Summary: The FlowFile content returned by Stateless
TriggerResult.readContent may contain too much data
Key: NIFI-8542
URL: https://issues.apache.org/jira/browse/NIFI-8542
Project: Apache NiFi
Issue Type: Bug
Components: NiFi Stateless
Reporter: Mark Payne
Assignee: Mark Payne
Fix For: 1.14.0
When using Stateless NiFi, the TriggerResult has a readContent(FlowFile) method
that should return the contents of the FlowFile. However, if a FlowFile was
created using {{ProcessSession.clone(FlowFile flowFile, long offset, long
size)}} then the contents of the entire content claim are still returned, not
just the contents between offset & offset + size. This means that any stateless
flow where the output is from SplitText or SegmentContent will return too much
content.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)