simonbence commented on a change in pull request #4655: URL: https://github.com/apache/nifi/pull/4655#discussion_r522793037
########## File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/TailFile.java ########## @@ -220,6 +221,19 @@ .addValidator(StandardValidators.TIME_PERIOD_VALIDATOR) .build(); + static final PropertyDescriptor REREAD_ON_NUL = new PropertyDescriptor.Builder() + .name("reread-on-nul") + .displayName("Reread when NUL encountered") + .description("If this option is set to 'true', when a NUL character is read, the processor will yield and try to read the same part again later. " + + "The purpose of this flag is to allow users to handle cases where reading a file may return temporary NUL values. " + + "NFS for example may send file contents out of order. In this case the missing parts are temporarily replaced by NUL values. " Review comment: My only concern about replacement is that implies that there was something else there before. My understanding is the NULs are new content, added as placeholder to the real content will be replaced by the real content. So replacement is more like about NUL and new content. ---------------------------------------------------------------- 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