Skip to content

Commit

Permalink
fix: pass metric group to sourceExactlyMetric
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterZh6 committed Oct 11, 2024
1 parent ae91907 commit bed796d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void open(DeserializationSchema.InitializationContext context, SourceConf
keyDeserialization.open(context);
}
if (metricOption != null) {
sourceExactlyMetric = new SourceExactlyMetric(metricOption);
sourceExactlyMetric = new SourceExactlyMetric(metricOption, context.getMetricGroup());
}
valueDeserialization.open(context);
}
Expand Down

0 comments on commit bed796d

Please sign in to comment.