title: Kafka: Auto flush data for every 1GB
body: <p>Which property I have to set for auto delete or auto-flush out data of a topic in Kafka broker.</p>
  
  <p>I tried to edit the following properties but it didn't make any difference.</p>
  
  <pre><code>log.retention.ms
  log.retention.byte
  log.retention.check.interval.ms
  </code></pre>
  
  <p>But still whenever 1 GB is reaching it is not deleting the flush
  So, uncommented below properties along with above</p>
  
  <pre><code>log.flush.interval.messages
  log.flush.interval.ms
  </code></pre>
  
  <p>How much ever I may increase values of these properties it is deleting data around 180 MB Maximum.</p>
  
  <p>How to delete data automatically whenever data for particular topic reaches 1GB.</p>