title: Modified server.properties and now I can't create topics
body: <p>I installed kafka on my machine using brew.</p>
  
  <pre><code>brew install kafka
  </code></pre>
  
  <p>I opened the following file</p>
  
  <pre><code>/usr/local/etc/kafka/server.properties
  </code></pre>
  
  <p>By default kafka brokers run on 9092. but in my case this port is already taken by elastic search.</p>
  
  <p>So I made the following entry in this file</p>
  
  <pre><code>listeners=PLAINTEXT://abhisheks-mini:9093
  </code></pre>
  
  <p>Now i restarted kafka using <code>brew services restart kafka</code></p>
  
  <p>but now if I try to do </p>
  
  <pre><code>./kafka-topics.sh --create --zookeeper localhost:2181 --partitions 1 --replication-factor 1 --topic test
  </code></pre>
  
  <p>I get an error</p>
  
  <pre><code>Error while executing topic command : replication factor: 1 larger than available brokers: 0
  [2017-09-30 12:39:18,076] ERROR org.apache.kafka.common.errors.InvalidReplicationFactorException: replication factor: 1 larger than available brokers: 0
   (kafka.admin.TopicCommand$)
  </code></pre>
  
  <p>I think this is because I changed the port and the utility does not know about the new port.</p>