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/09/13 12:40:30 UTC

[GitHub] [inlong] luchunliang commented on a diff in pull request #5883: [INLONG-5874][Agent] Add msgTime attribute in PackProxyMessage

luchunliang commented on code in PR #5883:
URL: https://github.com/apache/inlong/pull/5883#discussion_r969572502


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sinks/ProxySink.java:
##########
@@ -104,11 +103,10 @@ public void write(Message message) {
                                 }
                                 // add message to package proxy
                                 packProxyMessage.addProxyMessage(proxyMessage);
-                                //
+                                // update msgTime
+                                packProxyMessage.updateMsgTime(System.currentTimeMillis());

Review Comment:
   It is better to use current time in Agent source.



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