title: Kafka - Error while fetching metadata with correlation id - LEADER_NOT_AVAILABLE
body: <p>I have setup Kafka cluster locally. Three broker's with properties :</p>
  
  <pre><code>broker.id=0
  listeners=PLAINTEXT://:9092
  
  broker.id=1
  listeners=PLAINTEXT://:9091
  
  broker.id=2
  listeners=PLAINTEXT://:9090
  </code></pre>
  
  <p>Things were working fine but I am now getting error :</p>
  
  <blockquote>
    <p>WARN Error while fetching metadata with correlation id 1 : {TRAIL_TOPIC=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)</p>
  </blockquote>
  
  <p>I am also trying to write messages via Java based client &amp; I am getting error : unable to fetch metadata in 6000ms.</p>