Gwen Shapira created KAFKA-3244:
-----------------------------------

             Summary: TopipicCommand 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
            Reporter: Gwen Shapira


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
(v6.3.4#6332)

Reply via email to