EndzeitBegins commented on PR #8011:
URL: https://github.com/apache/nifi/pull/8011#issuecomment-1808890691

   Thank you for taking a look at this @exceptionfactory, I highly appreciate 
it.
   
   I've made some changes regarding the stream re-use as you've pointed out.
   I replaced the use of `ProcessSession.read` that receives a 
`InputStreamCallback` with the version that returns the `InputStream` instead, 
to be able to use final fields instead of AtomicReferences.     
   While doing so, I've noticed that some code paths were impossible to reach 
(especially the mimeType being null) and removed them. This further streamlines 
the processors implementation.
   
   Please let me know what you think about these changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to