umustafi commented on a change in pull request #3336:
URL: https://github.com/apache/gobblin/pull/3336#discussion_r675884393



##########
File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/KafkaAvroJobStatusMonitor.java
##########
@@ -163,6 +163,9 @@ public GobblinTrackingEvent 
deserializeEvent(DecodeableKafkaRecord<byte[],byte[]
         properties.put(JobStatusRetriever.EVENT_NAME_FIELD, 
ExecutionStatus.CANCELLED.name());
         properties.put(TimingEvent.JOB_END_TIME, 
properties.getProperty(TimingEvent.METADATA_END_TIME));
         break;
+      case TimingEvent.JOB_COMPLETION_PERCENTAGE:
+        properties.put(TimingEvent.JOB_LAST_PROGRESS_PERCENT_TIME, 
properties.getProperty(TimingEvent.METADATA_END_TIME));

Review comment:
       I believe METADATA_END_TIME is set when event.stop() is called (which is 
what I use to obtain the timestamp of when the progress event was set)




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