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)