[ 
https://issues.apache.org/jira/browse/FLINK-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209400#comment-16209400
 ] 

ASF GitHub Bot commented on FLINK-7758:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4769
  
    As I said, it is better to return an `UnregisteredMetricsGroup`. The 
current solution will blow up the moment the returned group is used, and can't 
be guarded against with null checks.


> Fix bug  Kafka09Fetcher add offset metrics 
> -------------------------------------------
>
>                 Key: FLINK-7758
>                 URL: https://issues.apache.org/jira/browse/FLINK-7758
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector, Metrics
>    Affects Versions: 1.3.2
>            Reporter: Hai Zhou UTC+8
>            Assignee: Hai Zhou UTC+8
>             Fix For: 1.4.0
>
>
> in Kafka09Fetcher, add _KafkaConsumer_ kafkaMetricGroup. 
> No judgment that the useMetrics variable is true.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to