title: How to slow down or set given speed on the Kafka stream consumer?
body: <p>I am trying to control number of messages which are consumed by the KStream and I am not very succesful.</p>
  
  <p>I am using: 
  <code>max.poll.interval.ms=100</code>
  and
  <code>max.poll.records=20</code>
  to get like 200 messages per second. </p>
  
  <p>But it seems to be not very good, as I see that there are like 500 messages per second also in my statistics.</p>
  
  <p>What else shall I set on the side of the stream consumer?</p>