Manage quotas
You can add and manage quotas for your Aiven for Apache Kafka® service using the Aiven Console. For an overview of quotas, see Quotas in Aiven for Apache Kafka.
To add quotas using APIs, see Aiven API documentation.
Add quota
To add quota to your Aiven for Apache Kafka service:
-
Log in to Aiven Console and select the Aiven for Apache Kafka service to manage.
-
Select Quotas from the left sidebar and select Add quota.
-
Enter the Client ID or User for which to set the quota. Client ID represents a unique identifier assigned to a Kafka client. User refers to the user or user group associated with the client.
-
Choose one of the following quota types and enter the desired value for the selected quota type:
- Consumer throttle (quota limit in bytes per second): Specify the maximum data transfer rate allowed for the consumer.
- Producer throttle (quota limit in bytes per second): Specify the maximum data transfer rate allowed for the producer.
- CPU throttle (quota limit as a percentage): Specify the maximum CPU usage allowed for the client.
noteAiven also supports default quotas, which can be applied to all clients and/or users by using the keyword default in either the client ID or user field.
-
Select Add to add quota.
Additionally, you can add more quotas by selecting the Add quota option on the right-side.
Update quota
To update an existing quota:
- Select Quotas from the left sidebar for your Apache Kafka service.
- Locate the quota to update.
- From the ellipsis menu, select Update to open the Update quota screen.
- Modify the quota value as needed.
- Select Save changes to save the changes and update the quota.
Delete quota
To remove a quota:
- Select Quotas from the left sidebar for your Apache Kafka service.
- Locate the quota to delete.
- From the ellipsis menu, select Delete.
- On the confirmation dialog, select Delete quota to delete the quota.