Gowtham Gutha created KAFKA-8253:
Summary: Unrecoverable state when a broker's INPUT access is
blocked (Zombie broker)
Key: KAFKA-8253
URL: https://issues.apache.org/jira/browse/KAFKA-8253
Project: Kafka
Issue Type: Bug
Affects Versions: 2.1.1
Reporter: Gowtham Gutha
I carried out a test as mentioned in this particular SO question.
[https://stackoverflow.com/questions/55706589/what-happens-if-the-leader-is-not-dead-but-unable-to-receive-messages-in-kafka]
*Gist of the test:*
A broker's INPUT access is blocked. So it is not able to receive any messages.
But still it can send heartbeats to ZK, so that a leader election will not
happen.
So any message produced to the partition lead by this _zombie_ broker is never
produced leaving the system in an unrecoverable state.
*Possible resolution:*
There should be a 2 way communication such that, if a broker is not able to
have any INPUT access, the ZK MUST know of it by sending some ping messages to
the brokers.
If there is no response from the broker, elect a new one. Since, if the broker
is not ping-able by ZK, that broker is as good as dead for its purpose.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)