title: Poll messages from kafka topic every X minutes
body: <p>I wanted to know that in my Kafka Streams application or Spring-Kafka;</p>
  
  <p>Is there a way where I can read my messages from a topic in some time interval.</p>
  
  <p>Read 1000 records per 5 minutes let's say.</p>
  
  <p>Read 1000 records from a topic, wait 5 min again and consume 1000 messages again.</p>
  
  <p>I have read the .poll() documentation but it does not do what I actually want. It says </p>
  
  <pre><code> The configuration poll.ms is the maximum "blocking time" within poll() if no data avaliable.
  </code></pre>
  
  <p>Think like a slow notification processing. Can I handle this with consumer, producer api or using kafka streams ?</p>
  
  <p>Thanks !</p>