title: Confusion in using log.retention.bytes parameter in logging Topic data in Apache Kafka
body: <p>&quot;log.retention.bytes&quot; is the parameter we are using to retain the logs of topic messages and I had given value as 1073741824.</p>
  <p>I had referred the Kafka documentation, where it says the size given in &quot;log.retention.bytes&quot; is per partition, so that means suppose if I have 20 partitions for all the topics I am using, then total size of bytes that Kafka will retain is 20*1073741824 according to the documentation.</p>
  <p>But what clarity I need is</p>
  <pre><code>Will Kafka retain 20*1073741824 bytes for all the topics?
                       (or)
  Will Kafka retain 20*1073741824 bytes per topic?
  </code></pre>