title: LEADER_NOT_AVAILABLE error in wurstmeister kafka
body: <p>Im trying to setup a kafka cluster using the below link.</p>
  
  <p><a href="https://github.com/wurstmeister/kafka-docker" rel="noreferrer">https://github.com/wurstmeister/kafka-docker</a></p>
  
  <p>and when I try to produce some msg I get this below error.</p>
  
  <pre><code>[2017-09-20 17:00:53,160] WARN Error while fetching metadata with correlation id 3 : {topic=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
  </code></pre>
  
  <p>Now, I tried to edit the server.properties and set the value </p>
  
  <p>advertised.listeners=PLAINTEXT://192.168.1.162:9092</p>
  
  <p>to set my hostname and port number.</p>
  
  <p>When I try to stop and start the kafka server I get the following error - </p>
  
  <pre><code>bash-4.3# ./kafka-server-stop.sh 
  No kafka server to stop
  </code></pre>
  
  <p>Im successfully able to create a topic</p>
  
  <pre><code>bash-4.3# $KAFKA_HOME/bin/kafka-topics.sh --create --topic topic1 \
  &gt; --partitions 4 --zookeeper $ZK --replication-factor 2
  Created topic "topic1".
  </code></pre>
  
  <p>How can I restart kafka to implement server.properties changes.</p>