exceptionfactory commented on PR #7952: URL: https://github.com/apache/nifi/pull/7952#issuecomment-1816807256
> Reopening this as I'm actively working it. I realized I hadn't passed in the `Character Set` property value into the InputStreamReader so I'm trying to fix the code/tests using that first. If not (or if you still object to the Reader at all) I can try the PushbackInputStream. The only caveat there is that the record separator can be an arbitrary string so I need to create the pushback buffer of that size ("n") and push back only "n-1" bytes. I figured the reader would do something similar and it makes the code easier to read, so if it works with the Reader and the correct encoding I'd like to go with that. That's a good point about the arbitrary string separator. The Reader will do character decoding based on the configured Character Set, so the best approach probably depends on how to evaluate the string separator. -- 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: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org