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

Quotas are not applied to requests with null clientId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      ClientQuotaManager.DefaultQuotaCallback will not check for the existence of a default quota if a request's clientId is null. This results in null clientIds bypassing quotas.

      Null clientIds are permitted in the protocol, so this seems like a bug.

      This looks like it may be a regression introduced by https://github.com/apache/kafka/pull/7372

      Attachments

        Issue Links

          Activity

            People

              dongjin Dongjin Lee
              david.mao David Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: