You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2018/07/20 21:05:00 UTC

[jira] [Updated] (KAFKA-3244) TopicCommand doesn't allow to add partitions with specific assignment

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

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

> TopicCommand doesn't allow to add partitions with specific assignment
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-3244
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3244
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin
>            Reporter: Gwen Shapira
>            Priority: Major
>
> The combination of "alter" "partitions" and "replica-assignment" is marked as invalid here:
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/admin/TopicCommand.scala#L337
> Although the alter method actually allowed using both parameters:
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/admin/TopicCommand.scala#L144
> I think the command line limitation can be safely removed.



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