Hello Denis,

I'm encountering a peculiar issue with my Kafka cluster.

I've been running 8 brokers on version 3.4.0 for several months, and
everything seems to be functioning well.

All my topics have at least two replicas for each partition.

However, I face a problem when I shut down a server running Kafka.

In such cases, my producers are unable to use the cluster, receiving the
error: "There is no leader for this topic-partition as we are in the middle
of a leadership election."

Interestingly, if I stop the Kafka service first and then shut down the
server, the failover works seamlessly.

Could anyone provide insights into what might be going wrong, or if this is
an issue inherent to Kafka?

Thank you,

Denis Santangelo

Reply via email to