Re: guidelines for replacing a lost Kafka Broker

2019-09-13 Thread Svante Karlsson
Just bring a new broker up and give it the id of the lost one. It will sync itself /svante Den fre 13 sep. 2019 kl 13:51 skrev saurav suman : > Hi, > > When the old data is lost and another broker is added to the cluster then > it is a new fresh broker with no data. You can reassign the partitio

Re: guidelines for replacing a lost Kafka Broker

2019-09-13 Thread saurav suman
Hi, When the old data is lost and another broker is added to the cluster then it is a new fresh broker with no data. You can reassign the partitions of the topics using kafka-reassign-partitions.sh script. Please check the below links for more details. https://blog.imaginea.com/how-to-rebalance-

Re: guidelines for replacing a lost Kafka Broker

2019-09-13 Thread M. Manna
Not sure what you mean by 1 topic with 3 partition and replication-factor = 2. You may need to revisit the idea of partitions and replication factor from docs. Thanks, On Fri, 13 Sep 2019 at 11:51, Alok Dwivedi wrote: > Hi All > Can someone please advise what is the recommended practice for rep

guidelines for replacing a lost Kafka Broker

2019-09-13 Thread Alok Dwivedi
Hi All Can someone please advise what is the recommended practice for replacing a lost broker in a Kafka cluster. Lets consider this sequence of events 1. 3 node cluster say with 1 topic of 3 partitions and RF of 2. 2. That gives 2 partitions on each Broker (B1,B2,B3) 3. Lets say we los