title: How to see the retention for a particular topic in kafka
body: <p>I want to see the retention period set for a particular topic.
  Is there any command?  I tried with</p>
  <pre><code>bin/kafka-topics.sh --zookeeper hostname:2181 --alter --config retention.ms=172800000 --topic &lt;topic_name&gt;
  </code></pre>
  <p>for deleting 2 days old data. But I want to see how many days are set in the retention period for all the topics.</p>