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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.1
    • Fix Version/s: 1.0.0
    • Component/s: core
    • Labels:
      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. Fetch.jpg
          386 kB
          Koelli Mungee
        2. Metrics.jpg
          369 kB
          Koelli Mungee

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: