[
https://issues.apache.org/jira/browse/NIFI-10163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nathan Gough updated NIFI-10163:
--------------------------------
Fix Version/s: 1.17.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> StandardProcessSession.exportTo() not tracking bytes read
> ---------------------------------------------------------
>
> Key: NIFI-10163
> URL: https://issues.apache.org/jira/browse/NIFI-10163
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.16.3
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Fix For: 1.17.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The {{StandardProcessSession.exportTo(FlowFile, OutputStream)}} method does
> not increment the bytes read or bytes written properties after processing
> completes. Although the method uses a {{ByteCountingInputStream}}, the method
> does not use the accumulated bytes read.
> As a result of this issue, Processors that use this {{exportTo()}} method do
> not show any information in the {{Bytes Read}} and {{Bytes Transferred}}
> sections of the Processor Status History.
> This impacts {{InvokeHTTP}} and {{HandleHttpResponse}} among others.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)