[ https://issues.apache.org/jira/browse/KAFKA-10136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17138182#comment-17138182 ]
jiamei xie commented on KAFKA-10136: ------------------------------------ ??from https://github.com/apache/kafka/blob/0.9.0/core/src/main/scala/kafka/tools/ConsumerPerformance.scala#L50 It was "total messages to consume for all threads" ?? >From >https://github.com/apache/kafka/blob/342c8172d7f4065e78fc29ca4c56fae0289d861d/core/src/main/scala/kafka/tools/ConsumerPerformance.scala#L265, > it used "messagesRead < config.numMessages" as a condition for the while loop. And after the while loop, it called totalMessagesRead.addAndGet(messagesRead) https://github.com/apache/kafka/blob/342c8172d7f4065e78fc29ca4c56fae0289d861d/core/src/main/scala/kafka/tools/ConsumerPerformance.scala#L286 There are two implement for both older and new consumer. > Make option threads of ConsumerPerformance work > ----------------------------------------------- > > Key: KAFKA-10136 > URL: https://issues.apache.org/jira/browse/KAFKA-10136 > Project: Kafka > Issue Type: Bug > Reporter: jiamei xie > Assignee: jiamei xie > Priority: Major > > Make option threads of ConsumerPerformance work -- This message was sent by Atlassian Jira (v8.3.4#803005)