adenes commented on pull request #5011: URL: https://github.com/apache/nifi/pull/5011#issuecomment-823073680
@markap14, indeed, the removal of the `BufferedInputStream` wrapping in `JsonPathReader.createRecordReader()` solves the issue (as you suggested on the Jira) because the `ContentClaimInputStream` doesn't use the `readLimit` in the `mark` call. Regardless of this I think it might be worth to increase the `readLimit` as there's no guarantee that the provided `InputStream` implementation doesn't takes it into account. What do you think? -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org