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

Todd Palino commented on KAFKA-1125:
------------------------------------

I believe an option for each of these tools to make them block would be very 
useful. As noted, in scripts where I want to perform tasks in sequence (such as 
moving partitions one topic at a time so as not to overload the cluster), I 
need to check for completion of each command by using the reassignment JSON 
file with --verify and parsing the response.

On the separate issue of creating a queue of admin tasks, this is probably a 
good idea as, for the most part, we do not want to perform two actions at the 
same time. However, I would request that if we have that queue of tasks, tools 
to view and modify the queue (removing tasks or potentially reordering them) 
would be helpful.

> Add options to let admin tools block until finish
> -------------------------------------------------
>
>                 Key: KAFKA-1125
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1125
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>
> Topic config change as well as create-topic, add-partition, 
> partition-reassignment and preferred leader election are all asynchronous in 
> the sense that the admin command would return immediately and one has to 
> check himself if the process has finished. It is better to add an option to 
> make these commands blocking until the process is done.
> Also, it would be good to order admin tasks in order so that they can be 
> executed sequentially in logic.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to