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

Dmitry Pekar commented on KAFKA-1752:
-------------------------------------

[~gwenshap] [~nehanarkhede]
This CLI already has --broker-list option used to specify comma-separated 
broker ids for --generate command (creates config to spread topic partitions 
evenly across specified brokers). So my suggestion is to reuse --broker-list 
instead of --with-broker. IMHO, it has exactly the same semantics. Also it 
allows us to specify several brokers, which may be unavoidable in some replace 
scenarios (could provide examples, if required) and in "delete broker" scenario 
(i.e. in cluster 0,1,2  "delete 1" is exactly the same as "replace 1 => 0,2")

So the command will look like:
--replace-broker 1 --broker-list 0
or 
--replace-broker 2 --broker-list 3,4

What do you think?

> add --replace-broker option
> ---------------------------
>
>                 Key: KAFKA-1752
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1752
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: tools
>            Reporter: Dmitry Pekar
>            Assignee: Dmitry Pekar
>             Fix For: 0.8.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to