You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Evan Zhou (Jira)" <ji...@apache.org> on 2026/08/07 19:30:00 UTC

[jira] [Created] (KAFKA-20904) AsyncKafkaConsumer is higher than expected CPU usage

Evan Zhou created KAFKA-20904:
---------------------------------

             Summary: AsyncKafkaConsumer is higher than expected CPU usage
                 Key: KAFKA-20904
                 URL: https://issues.apache.org/jira/browse/KAFKA-20904
             Project: Kafka
          Issue Type: Bug
          Components: clients, consumer
            Reporter: Evan Zhou


We run scheduled tests of the Consumer to compare perf metrics between the `classic` and `consumer` protocols, and recently noticed CPU usage has doubled for the `consumer` protocol. https://github.com/apache/kafka/pull/22979 seems to be the suspect based on tracking down the commits made in between test runs, but more investigation is needed to figure out why this change caused such a big increase in CPU and what the correct fix is



--
This message was sent by Atlassian Jira
(v8.20.10#820010)