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

Sagar Rao commented on KAFKA-8238:
----------------------------------

Thanks [~cmccabe]. I started looking at the code to analyse what needs to be 
done.

1 thing that I wanted to know is that, is this feature something that needs to 
be enabled only for newer version(specifically for magic numbers = 2)? If 
that's the case, then I think we can compute the bytes and message read within 
the iterator:

[https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L557]

> Log how many bytes and messages were read from __consumer_offsets
> -----------------------------------------------------------------
>
>                 Key: KAFKA-8238
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8238
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Colin P. McCabe
>            Assignee: Sagar Rao
>            Priority: Minor
>              Labels: newbie
>
> We should log how many bytes and messages were read from __consumer_offsets.  
> Currently we only log how long it took.  Example: 
> {code}
> [GroupMetadataManager brokerId=2] Finished loading offsets and group metadata 
> from __consumer_offsets-22 in 23131 milliseconds.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to