Brenden Matthews created KAFKA-1300:
---------------------------------------
Summary: Added WaitForReplaction admin tool.
Key: KAFKA-1300
URL: https://issues.apache.org/jira/browse/KAFKA-1300
Project: Kafka
Issue Type: New Feature
Components: tools
Affects Versions: 0.8.0
Environment: Ubuntu 12.04
Reporter: Brenden Matthews
Fix For: 0.8.1
I have created a tool similar to the broker shutdown tool for doing rolling
restarts of Kafka clusters.
The tool watches the max replica lag of the specified broker, and waits until
the lag drops to 0 before exiting.
To do a rolling restart, here's the process we use:
for (broker <- brokers) {
run shutdown tool for broker
terminate broker
start new broker
run wait for replication tool on new broker
}
--
This message was sent by Atlassian JIRA
(v6.2#6252)