healchow commented on code in PR #5910:
URL: https://github.com/apache/inlong/pull/5910#discussion_r974847223
##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/TextFileReader.java:
##########
@@ -79,6 +81,10 @@ public void getData() throws IOException {
}
resultLines.add(splitLines[i].trim());
}
+ if (data.startsWith(splitStr, data.length() -
splitStr.length() - 1)) {
Review Comment:
It's a bit difficult to understand here, can you add some explanations or
examples?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]