title: "Commit failed for offsets" while committing offset asynchronously
body: <p>I have a kafka consumer from which I am consuming data from a particular topic and I am seeing below exception. I am using <code>0.10.0.0</code> kafka version.</p>
  
  <pre><code>LoggingCommitCallback.onComplete: Commit failed for offsets= {....}, eventType= some_type, time taken= 19ms, error= org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured session.timeout.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records.
  </code></pre>
  
  <p>I added these two extra consumer properties but still it didn't helped:</p>
  
  <pre><code>session.timeout.ms=20000
  max.poll.records=500
  </code></pre>
  
  <p>I am committing offsets in a different background thread as shown below:</p>
  
  <pre><code>kafkaConsumer.commitAsync(new LoggingCommitCallback(consumerType.name()));
  </code></pre>
  
  <p>What does that error mean and how can I resolve it? Do I need to add some other consumer properties?</p>