[
https://issues.apache.org/jira/browse/NIFI-8542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-8542:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Priority: Major
> Fix For: 1.14.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)