title: how do you get default Kafka configs global and per topic from command line?
body: <p>How do you get default Kafka configs global and per topic from the command line or other ways?</p>
  
  <p>I know the defaults are available on <a href="http://kafka.apache.org/081/documentation.html#brokerconfigs" rel="noreferrer">Broker Configs</a> and you can get per topic "overrides" using describe, but if I make many changes to topic level configuration, it would be nice to get all values including the overrides per topic.</p>
  
  <pre><code>$KAFKA_HOME/bin/kafka-topics.sh --zookeeper $ZK --describe --topic test-topic
  $KAFKA_HOME/bin/kafka-configs.sh --zookeeper $ZK --describe --entity-name test-topic --entity-type topics
  </code></pre>
  
  <p>FYI, I am just getting started with kafka v0.9.0.1. </p>
  
  <p>Apparently, there is a <a href="https://cwiki.apache.org/confluence/display/KAFKA/Dynamic+Topic+Config" rel="noreferrer">discussion about why this is not possible</a>, so I guess there is no solution.</p>