dajac commented on a change in pull request #9292: URL: https://github.com/apache/kafka/pull/9292#discussion_r509077846
########## File path: core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala ########## @@ -670,12 +675,16 @@ class GroupMetadataManager(brokerId: Int, case unknownKey => throw new IllegalStateException(s"Unexpected message key $unknownKey while loading offsets and group metadata") } + messagesRead += 1 + bytesRead += record.sizeInBytes() } } + batchesRead += 1 currOffset = batch.nextOffset } } + info(s"Number of messages/bytes/batches read: $messagesRead/$bytesRead/$batchesRead for partition $topicPartition") Review comment: We already log a message when the loading for a partition is completed: https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L552. We could perhaps add more information to that one instead of adding a new one. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org