pocozh commented on code in PR #7157:
URL: https://github.com/apache/inlong/pull/7157#discussion_r1062181321


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/FileReaderOperator.java:
##########
@@ -278,6 +282,9 @@ public void resiterMeta(JobProfile jobConf) {
             return;
         }
         String[] env = jobConf.get(JOB_FILE_META_ENV_LIST).split(COMMA);
+        if (env.length > 0) {

Review Comment:
   > Why is metadata required when there are more than one environment?
   
   MetaData is used for some special scenes, such as k8s log.



-- 
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

Reply via email to