David Handermann created NIFI-10163:
---------------------------------------

             Summary: 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


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.7#820007)

Reply via email to