You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/08 19:56:00 UTC

[jira] [Commented] (KAFKA-7864) AdminZkClient.validateTopicCreate() should validate that partitions are 0-based

    [ https://issues.apache.org/jira/browse/KAFKA-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763858#comment-16763858 ] 

ASF GitHub Bot commented on KAFKA-7864:
---------------------------------------

ctchenn commented on pull request #6246: KAFKA-7864; validate partitions are 0-based
URL: https://github.com/apache/kafka/pull/6246
 
 
    in AdminZkClient.validateTopicCreate(), check the partition ids are consecutive and 0-based
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> AdminZkClient.validateTopicCreate() should validate that partitions are 0-based
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-7864
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7864
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Ryan
>            Priority: Major
>              Labels: newbie
>
> AdminZkClient.validateTopicCreate() currently doesn't validate that partition ids in a topic are consecutive, starting from 0. The client code depends on that. So, it would be useful to tighten up the check.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)