You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Alyssa Huang (Jira)" <ji...@apache.org> on 2023/05/11 22:51:00 UTC
[jira] [Created] (KAFKA-14992) Add partition limit or improve error msg for adminzkclient
Alyssa Huang created KAFKA-14992:
------------------------------------
Summary: Add partition limit or improve error msg for adminzkclient
Key: KAFKA-14992
URL: https://issues.apache.org/jira/browse/KAFKA-14992
Project: Kafka
Issue Type: Improvement
Reporter: Alyssa Huang
Create topic requests with large number of partitions will yield an exception that's technically unrelated and confusing.
`partitions should be a consecutive 0-based integer sequence`
What really is happening is that we exceed maxInt at this line
[https://github.com/apache/kafka/blame/trunk/core/src/main/scala/kafka/zk/AdminZkClient.scala#L154]
which causes the following check to fail. We should account for this case better.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)