offsets.topic.replication.factor is set to 1, so the consumer is likely failing because some of the __consumer_offsets topic partitions are offline.
On Thu, Jan 16, 2020 at 9:05 AM JOHN, BIBIN <bj9...@att.com> wrote: > Producer request will not fail. Producer will fail based on acks and > min.insync.replicas config parameters. > > > -----Original Message----- > From: Ryanne Dolan <ryannedo...@gmail.com> > Sent: Thursday, January 16, 2020 10:52 AM > To: Kafka Users <users@kafka.apache.org> > Subject: Re: Kafka Broker leader change without effect > > 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://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com > > _questions_59772124_kafka-2Dbroker-2Dleader-2Dchange-2Dwithout-2Deffec > > t&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m=BhZVZXe > > seQEOD2SYRzwo_lU6ibRcmwDoMXL643BQB44&s=tPA4Mq0KgEzVUn9Dihe5Z-0G7Hc4voz > > O8ox3nAmoLh0&e= > > > > Can you help me? > > thank you > > Marco > > >