Quotas
This page describes the commands for mamaging Kafka quotas in Lenses via the CLI.
View quotas
lenses-cli quotas [--output json/table/yaml]Create and update quotas for users
lenses-cli quota users set [--quota-user="user"] [--quota-client=""] \
--quota-config="{\"producer_byte_rate\": \"100000\",\"consumer_byte_rate\": \"200000\",\"request_percentage\": \"75\"}"lenses-cli quota users set ./quota.yamluser: user
clientID: "*"
config:
ProducerByteRate: "100000"
ConsumerByteRate: "200000"
RequestPercentage: "75"Create and update quotas for clients
lenses-cli quota clients set [--quota-client=""] \
--quota-config="{\"producer_byte_rate\": \"100000\",\"consumer_byte_rate\": \"200000\",\"request_percentage\": \"75\""
Remove user quota config’s specific properties
Delete the default user quota
Delete for a specific user quota
Delete for a specific user and client
Remove client quota config’s specific properties
Delete the default client quota
Delete for a specific client quota
Delete for a specific client quota’s property
Last updated
Was this helpful?

