Hello,

in order to try running Kafka in Kubernetes I'm facing the following problem ...

Imagine that I start a cluster with a zookeeper instance and two kafka broker. 
I create a topic with one partition but replication factor 2 : I have broker1 
as leader and broker2 as follower.
All works great !

Imagine that the pod where the broker2 is running stops to work. Kubernetes 
starts a new pod (let me name it broker3) but with a different IP. 
What's the right way to make the new broker instance as a follower for the 
broker1 in order to have it "in sync" and guarantee the replication factor 2 
for the topic ?

Thanks,
Paolo.

Paolo PatiernoSenior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoTMicrosoft Azure Advisor 
Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience                                      

Reply via email to