[ https://issues.apache.org/jira/browse/KAFKA-3244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151125#comment-15151125 ]
Grant Henke commented on KAFKA-3244: ------------------------------------ Hi [~benstopford], I took a look at this, and wasn't totally clear on the issue. The validation linked in the description does not match the proposed error. I can recreate the error when using the --create option but the --alter option appears to work fine. Feel free to take a look. I can send you some test code if you like. > 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 > Reporter: Gwen Shapira > Assignee: Grant Henke > > 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)