title: How to commit manually with Kafka Stream?
body: <p>Is there a way to commit manually with Kafka Stream?</p>
  
  <p>Usually with using the <code>KafkaConsumer</code>, I do something like below:</p>
  
  <pre><code>while (true) {
      ConsumerRecords&lt;String, String&gt; records = consumer.poll(100);
      for (ConsumerRecord&lt;String, String&gt; record : records){
         // process records
      }
     consumer.commitAsync();
  }
  </code></pre>
  
  <p>Where I'm calling commit manually. I don't see a similar API for <code>KStream</code>.</p>