pocozh commented on code in PR #6008: URL: https://github.com/apache/inlong/pull/6008#discussion_r978377497
########## inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/FileReaderOperator.java: ########## @@ -90,7 +93,9 @@ public Message read() { AuditUtils.add(AuditUtils.AUDIT_ID_AGENT_READ_SUCCESS, inlongGroupId, inlongStreamId, System.currentTimeMillis()); readerMetric.pluginReadCount.incrementAndGet(); - return new DefaultMessage(message.getBytes(StandardCharsets.UTF_8)); + Map<String, String> header = new HashMap<>(); + header.put(PROXY_KEY_DATA, DigestUtils.md5Hex(inlongGroupId)); + return new DefaultMessage(message.getBytes(StandardCharsets.UTF_8), header); Review Comment: Is it better to use inlongGroupId and inlongStreamId? -- 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