You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Tom Bentley (JIRA)" <ji...@apache.org> on 2017/09/08 16:50:00 UTC

[jira] [Created] (KAFKA-5860) Prevent non-consecutive partition ids

Tom Bentley created KAFKA-5860:
----------------------------------

             Summary: Prevent non-consecutive partition ids
                 Key: KAFKA-5860
                 URL: https://issues.apache.org/jira/browse/KAFKA-5860
             Project: Kafka
          Issue Type: Improvement
            Reporter: Tom Bentley
            Priority: Minor


It is possible to create non-consecutive partition ids via AdminClient.createTopics() and the kafka-topics.sh. It's not clear that this has any use cases, nor that it is well tested. 

Since people generally assume partition ids will be consecutive it is likely to be a cause of bugs in both Kafka and user code.

We should remove the ability to create topics with non-consecutive partition ids.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)