[ 
https://issues.apache.org/jira/browse/KAFKA-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ray Chiang updated KAFKA-5860:
------------------------------
    Component/s: admin

> Prevent non-consecutive partition ids
> -------------------------------------
>
>                 Key: KAFKA-5860
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5860
>             Project: Kafka
>          Issue Type: Improvement
>          Components: admin
>            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
(v7.6.3#76005)

Reply via email to