[ https://issues.apache.org/jira/browse/FLINK-21000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266679#comment-17266679 ]
Steven Zhen Wu commented on FLINK-21000: ---------------------------------------- I tried to trace the code up the chain: [https://github.com/stevenzwu/flink/commit/fb29be664b24c7b1ac13ca98393e77b0a8213888] But I got stuck in the `StreamExecutionEnvironment#getStreamGraphGenerator()`. I am not sure how can `StreamExecutionEnvironment` get the `MetricGroup` or `MetricRegistry` > set MetricGroup in SourceCoordinatorContext > ------------------------------------------- > > Key: FLINK-21000 > URL: https://issues.apache.org/jira/browse/FLINK-21000 > Project: Flink > Issue Type: Bug > Components: Connectors / Common > Affects Versions: 1.12.0 > Reporter: Steven Zhen Wu > Priority: Major > > Right now, SourceCoordinatorContext returns null. We need a valid metric > group to publish source metrics (e.g. number of pending splits) in source > enumerator. > cc [~sewen] [~jqin] -- This message was sent by Atlassian Jira (v8.3.4#803005)