AndyJiang99 commented on code in PR #4005:
URL: https://github.com/apache/gobblin/pull/4005#discussion_r1683347509


##########
gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/source/extractor/extract/kafka/KafkaExtractorStatsTracker.java:
##########
@@ -306,6 +310,13 @@ public void onDecodeableRecord(int partitionIdx, long 
readStartTime, long decode
         if (logAppendTimestamp > 0 && (System.currentTimeMillis() - 
logAppendTimestamp > recordLevelSlaMillis)) {
           v.slaMissedRecordCount++;
         }
+        // See context in GOBBLIN-2114

Review Comment:
   Can you add the short description here instead of referencing the Gobblin 
ticket? Since we have so many stats tracker here, it would be good to have a 
short description so we know what we are tracking and going forward, we know 
what we already have.
   The naming for the variables might be more descriptive/understandable maybe 
as appendDurationTime and creationDurationTime to describe that it is amount of 
time taken between HDFS and when it was produced / appended. What do you think?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to