Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8806

Kafka.poll spends significant amount of time in KafkaConsumer.updateAssignmentMetadataIfNeeded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • None
    • None

    Description

      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 25% of CPU time spent in KafkaConsumer.poll(), when before it only represented less than 5%.

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

      Attachments

        Issue Links

          Activity

            People

              mumrah David Arthur
              xvrl Xavier Léauté
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: