Marco, the replication factor of 3 is not possible when you only have two brokers, thus the producer will fail to send records until the third broker is restored. You would need to change the topic replication factor to 2 for your experiment to work as you expect.
Ryanne On Thu, Jan 16, 2020, 9:59 AM Marco Di Falco <marco.difa...@dedalus.eu> wrote: > Hello guys! > i have a problem i wrote about stackoverflow here: > https://stackoverflow.com/questions/59772124/kafka-broker-leader-change-without-effect > > Can you help me? > thank you > Marco >