arjun4084346 commented on code in PR #4026: URL: https://github.com/apache/gobblin/pull/4026#discussion_r1717984089
########## gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProcUtils.java: ########## @@ -199,6 +202,21 @@ private static void sendCancellationEvent(Dag.DagNode<JobExecutionPlan> dagNodeT jobExecutionPlan.setExecutionStatus(CANCELLED); } + public static void setAndEmitFlowEvent(EventSubmitter eventSubmitter, Dag<JobExecutionPlan> dag, String flowEvent) { + if (!dag.isEmpty()) { + // Every dag node will contain the same flow metadata + Config config = DagManagerUtils.getDagJobConfig(dag); + Map<String, String> flowMetadata = TimingEventUtils.getFlowMetadata(config); + dag.setFlowEvent(flowEvent); Review Comment: i am still setting it here, so that future team can decide what to do with this field, for now marked it as @Deprecated -- 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: dev-unsubscr...@gobblin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org