Is there fencing for partition leaders? What I’m trying to say is, when a broker is elected to lead a partition, I imagine it doesn’t have to consult zookeeper/KRaft in order to accept a request from a producer client.
But how do we avoid split brain in which another leader is elected but the old one isn’t aware?
This is different from fencing in transactions (in which a transaction coordinator fences old clients).