You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/30 11:26:32 UTC

[GitHub] [inlong] GanfengTan commented on a diff in pull request #5744: [INLONG-5743][Agent] Support function read file data continuously through the monitoring file

GanfengTan commented on code in PR #5744:
URL: https://github.com/apache/inlong/pull/5744#discussion_r958355710


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/TextFileReader.java:
##########
@@ -46,6 +46,7 @@ public final class TextFileReader extends AbstractFileReader {
 
     public TextFileReader(FileReaderOperator fileReaderOperator) {
         super.fileReaderOperator = fileReaderOperator;
+        MonitorTextFile.getInstance().monitor(fileReaderOperator,this);

Review Comment:
   done



-- 
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-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org