Xavier Léauté created KAFKA-8806:
------------------------------------

             Summary: Kafka.poll spends significant amount of time in 
KafkaConsumer.updateAssignmentMetadataIfNeeded
                 Key: KAFKA-8806
                 URL: https://issues.apache.org/jira/browse/KAFKA-8806
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 2.3.0
            Reporter: Xavier Léauté


Comparing the performance profile of 2.2.0 and 2.3.0, we are seeing significant 
performance differences in the 
{{KafkaConumer.updateAssignmentMetadataIfNeeded()}} method.

The call to {{KafkaConsumer.updateAssignmentMetadataIfNeeded()}} now represents 
roughly 40% of CPU time spent in {{KafkaConsumer.poll()}}, when before it only 
represented less than 2%.

Most of the extra time appears to be spent in 
{{KafkaConsumer.validateOffsetsIfNeeded()}}, which did not show up in previous 
profiles.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to