Re: Kafka safe Rolling restart

2016-04-09 Thread Robert Christ
Hi Yashodhan, I do this quite frequently and if I understand your question correctly, it is the default behavior. If you issue a normal TERM signal to the kafka process (or call kafka-server-stop.sh) it will start controlled shutdown which will migrate leadership for all the partitions it is curr

Re: auto leader rebalancing

2016-04-27 Thread Robert Christ
I believe the 10% is measured on a broker level not a topic level. Do you see lines like: [2016-04-27 22:52:47,854] TRACE [Controller 3]: leader imbalance ratio for broker 5 is 0.978555 (kafka.controller.KafkaController) [2016-04-27 22:52:47,855] TRACE [Controller 3]: leader imbalance ratio for