title: Error while creating Kafka topic through command line
body: <p>I am using kafka_2.8.0-0.8.1.1 version.</p>
  
  <p>I am trying to create kafka topic using the following command:</p>
  
  <pre><code>./kafka-topics.sh --create --zookeeper 10.25.3.131:2181 --replication-factor 1 --partitions 1 --topic test
  </code></pre>
  
  <p>But i get the following error:  </p>
  
  <p><code>Error while executing topic command replication factor: 1 larger than available brokers: 0
  kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
          at kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:70)
          at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:155)
          at kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:86)
          at kafka.admin.TopicCommand$.main(TopicCommand.scala:50)
          at kafka.admin.TopicCommand.main(TopicCommand.scala)</code></p>
  
  <p>Any suggestions regarding how to solve this error.</p>