mirror of https://github.com/apache/kafka.git
MINOR: fix the way total consumed is calculated for verifiable consumer (#9143)
Reviewers: Ron Dagostino <rdagostino@confluent.io>, Rajini Sivaram <rajinisivaram@googlemail.com>
This commit is contained in:
parent
70f10137f9
commit
f7a4fe7c14
|
@ -97,7 +97,7 @@ class ConsumerEventHandler(object):
|
|||
if tp in self.position:
|
||||
self.position[tp] = max_offset + 1
|
||||
logger.warn(msg)
|
||||
self.total_consumed += event["count"]
|
||||
self.total_consumed += event["count"]
|
||||
|
||||
def handle_partitions_revoked(self, event):
|
||||
self.revoked_count += 1
|
||||
|
|
Loading…
Reference in New Issue