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

aitozi commented on FLINK-7945:
-------------------------------

Before I think the losed metric is caused by the kafka client is used wrong, 
after serveral test i have found that kafka add per partition lag metric after 
0.10.2.0 [https://issues.apache.org/jira/browse/KAFKA-4381].  But after read 
the kafka code , the metrics is only add after the consumer#poll method 

> kafka-connector11 use kafkaConsumer0.9 caused it lost the important metric in 
> kafka consumer clients11
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-7945
>                 URL: https://issues.apache.org/jira/browse/FLINK-7945
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector, Metrics
>    Affects Versions: 1.4.0, 1.3.2
>            Reporter: aitozi
>            Assignee: aitozi
>            Priority: Major
>
> when i want to add kafka-lag to per partition, i found that Kafka-connector11 
> used the kafka09Fetcher and kafka09Fetcher use the 09 version kafka client, 
> caused that the new metric like kafka per partition consumer lag lost.  



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

Reply via email to