Re: Best way to replace a single broker

2015-05-14 Thread Rajiv Kurian
Thank you Andrey. On Thu, May 14, 2015 at 11:21 AM, Andrey Yegorov wrote: > As I remember, you can simply stop old broker, start the new one with the > same broker id as the old one. > It will start syncing replicas from other brokers and eventually will get > all of them > After this is done (a

Re: Best way to replace a single broker

2015-05-14 Thread Andrey Yegorov
As I remember, you can simply stop old broker, start the new one with the same broker id as the old one. It will start syncing replicas from other brokers and eventually will get all of them After this is done (all replicas are in sync) you can trigger leader election (or preferred replica election

Best way to replace a single broker

2015-05-14 Thread Rajiv Kurian
Hi all, Sometimes we need to replace a kafka broker because it turns out to be a bad instance. What is the best way of doing this? We have been using the kafka-reassign-partitions.sh to migrate all topics to the new list of brokers which is the (old list + the new instance - the bad instance). T