Github user patricker commented on the issue:
https://github.com/apache/nifi/pull/3085
@markap14 Thanks Mark. One thing I didn't test, and I don't know if it's
covered by the current test suite, is very long lines. I didn't think about it
until this morning, but with the way I re-wrote this, if a file has a single
very long line I don't think it will fail when the length of the line exceeds
the buffer; which is what the docs say should happen. This is because I just
call `read()`, and read handles keeping the buffer filled...
---