title: What happens when during manual commit specific offset fails but next offsets in sequence commits successfully?
body: <p>I am writing a kafka consumer using poll mechanism in which I am getting 100 messages per poll. After consuming messages, I commit an offset manually one by one. While committing an offset, sometimes I get an error for one of the message out off 100 messages. Rest offsets commit successfully.</p>
  
  <pre><code>Offsets
  1,2,3,4,5,6,7,....100
  </code></pre>
  
  <p>Let's say offset 5 commit fails but excluding offset 5 all offsets committed successfully.</p>
  
  <p>So, in this case, what happens to the commit failed offset? Since offset moves sequentially, will I get the commit failed offset in next poll?</p>
  
  <p>My primary investigation shows it reads the failed offset in next poll. Need expertise view on this.</p>