- Newest
- Most votes
- Most comments
Hello, I would like to inform you that if you have a large number of topics/partitions in your MSK Serverless cluster then you may notice the following error:
"org.apache.kafka.common.errors.InvalidRequestException: Quota exceeded for maximum number of partitions"
This error indicates that the partitions quota on the MSK Serverless is exceeded. As mentioned in the following documentation, MSK Serverless has a maximum partitions limit of 2400 for non-compacted topics and 120 for compacted topics.
Also would like to add that the partitions of the internal connector offset and config topics are also counted towards the partition count limit.
[+] Amazon MSK quota - MSK Serverless quota - https://docs.aws.amazon.com/msk/latest/developerguide/limits.html#serverless-quota
Thus in order to resolve this error, you can reduce the number of partitions by deleting some topics on the cluster. Alternatively, you can request an increase in the quota to a new limit which you define. In order to request a service limit increase you may select "Looking for service limit increases?" from the Create Case page in the AWS Support console.
For detailed cluster investigation I would request you to please reach out to AWS support with the concerned MSK cluster. Refrain from sharing any sensitive information on this post itself.
Relevant content
- asked 2 years ago
- asked 21 days ago
- asked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago