How do I restore dead Kafka brokers?
<p>I had a Kafka cluster with three brokers.</p>

<p>I killed two of them by mistake.</p>

<p>I restarted them with the same <code>server.properties</code> config files that was used in running them the first time, but it is not functioning correctly.</p>

<p>By this I mean when I run <code>bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic &lt;topic_name&gt; --from-beginning</code>, it prints nothing, although when I replace the localhost with the address of broker server that had not been killed in <code>--zookeeper localhost:2181</code>, it has all the messages.</p>

<p>It seems like the two restarted Kafka brokers are not finding which cluster they should belong.</p>

<p>How can I fix this?</p>

<p>Also, how do brokers in a cluster recognize each other's address? By <code>zookeeper.connect</code> field in <code>server.properties</code> file?</p>