healchow commented on code in PR #8182: URL: https://github.com/apache/inlong/pull/8182#discussion_r1222438372
########## inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/FileReaderOperator.java: ########## @@ -91,13 +87,13 @@ public class FileReaderOperator extends AbstractReader { public static final int NEVER_STOP_SIGN = -1; public static final int BATCH_READ_SIZE = 10000; public static final int CACHE_QUEUE_SIZE = 10 * BATCH_READ_SIZE; - private static final int LINE_SEPARATOR_SIZE = System.lineSeparator().getBytes(StandardCharsets.UTF_8).length; + public static int DEFAULT_BUFFER_SIZE = 64 * 1024; Review Comment: ```suggestion public static final int DEFAULT_BUFFER_SIZE = 64 * 1024; ``` -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org