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/01/11 07:24:53 UTC

[GitHub] [incubator-inlong] imvan commented on a change in pull request #2129: [INLONG-1895] Inlong-Sort-Standalone support to sort the events to Hive cluster.

imvan commented on a change in pull request #2129:
URL: https://github.com/apache/incubator-inlong/pull/2129#discussion_r781813748



##########
File path: inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/dispatch/DispatchManager.java
##########
@@ -75,19 +75,22 @@ public void addEvent(ProfileEvent event) {
             this.needOutputOvertimeData.set(false);
         }
         // parse
-        String uid = event.getUid();
+        String eventUid = event.getUid();
+        long dispatchTime = event.getRawLogTime() - event.getRawLogTime() % 60000L;

Review comment:
       magic number




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