GitHub user rekhajoshm opened a pull request: https://github.com/apache/kafka/pull/4042
[KAFKA-5835][CLIENTS] CommitFailedException exception versus KafkaConsumer flow The invalid offset/out of range offset is captured in IllegalArgumentException/RunTimeException. The CommitFailedException only happens as called out in CommitFailedException javadoc. Hence made that exception flow explicit, and updated KafkaConsumer javadoc. Please let me know if it makes sense.Thanks You can merge this pull request into a Git repository by running: $ git pull https://github.com/rekhajoshm/kafka KAFKA-5835 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4042.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4042 ---- commit c15beda320475e0b243ac444ab262c93012e44ba Author: rekhajoshm <rekhajo...@gmail.com> Date: 2017-10-09T03:16:19Z [KAFKA-5835][CLIENTS] CommitFailedException exception versus KafkaConsumer flow ---- ---