title: Checking the existence of topic in kafka before creating in Java
body: <p>I am trying to create a topic in kafka 0.8.2 by using :</p>
  
  <pre><code>AdminUtils.createTopic(zkClient, myTopic, 2, 1, properties);
  </code></pre>
  
  <p>If I run the code more than once locally for testing, this fails as the topic was already created. Is there a way to check if the topic exists before creating the topic? The <code>TopicCommand</code> api doesn't seem to return anything for <code>listTopics</code> or <code>describeTopic</code>
  .</p>