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

JmxReporter Fetch metrics for kafka.server should not be created when client quotas are not enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.1
    • 1.0.0
    • core
    • None

    Description

      JMXReporter kafka.server Fetch metrics should not be created when client quotas are not enforced for client fetch requests. Currently, these metrics are created and this can cause OutOfMemoryException in the KafkaServer in cases where a large number of consumers are being created rapidly.

      Attaching screenshots from a heapdump showing the kafka.server:type=Fetch,client-id=consumer-358567 with different client.ids from a kafkaserver where client quotas were not enabled.

      Attachments

        1. Metrics.jpg
          369 kB
          Koelli Mungee
        2. Fetch.jpg
          386 kB
          Koelli Mungee

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              Koelli Koelli Mungee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: