After Linux restart, Kafka throwing "no brokers found when trying to rebalance"
<p>I followed an <a href="https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-14-04" rel="nofollow">excellent step-by-step tutorial for installing Kafka on Linux</a>. Everything was working fine for me until I restarted Linux. After the restart, I get the following error when I try to consume a queue with <code>kafka-console-consumer.sh</code>.</p>

<pre><code>$ ~/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic TutorialTopic --from-beginning
</code></pre>

<blockquote>
  <p>[2016-02-04 03:16:54,944] WARN [console-consumer-6966_bob-kafka-storm-1454577414492-8728ae43], <strong>no brokers found when trying to rebalance</strong>. (kafka.consumer.ZookeeperConsumerConnector)</p>
</blockquote>

<p>Before I ran the <code>kafka-console-consumer.sh</code> script, I did push data to the Kafka queue using the <code>kafka-console-producer.sh</code> script. These steps worked without issue before restarting Linux.</p>

<p>I can fix the error by manually starting Kafka; but, I would rather that Kafka start automatically.</p>

<p>What might cause Kafka to not start correctly after restart?</p>