QuotasΒΆ

Quotas can be applied to restrict network and resource utilization for Kafka to particular USERS or CLIENTS. To utilize USER level quotas, your Kafka setup should have authentication enabled via Kerberos or TLS certificates. Different versions of Kafka support different Quota capabilities. The REST API is documented here and Lenses provides a user interface to define the:

  1. Entity Type - CLIENT|CLIENTS|CLIENTS DEFAULT|USER|USERS|USERCLIENT|USERS DEFAULT
  2. Entity Name - The Kafka client id for CLIENT or CLIENTS and username for USER and USERCLIENT
  3. Producer Byte Rate - The Quota in Bytes for restricting data production
  4. Consumer Byte Rate - The Quota in Bytes for restricting data consumption
  5. Request Percentage - The Quota in percentage (%) of total requests
../../_images/quotas.png

And when using an account with admin or write level access you can also create new Quotas or remove existing ones

../../_images/quotas_add.png