GitHub user efeg reopened a pull request: https://github.com/apache/kafka/pull/4093
KAFKA-6083: The Fetcher should add the InvalidRecordException as a cause to the KafkaException when invalid record is found. You can merge this pull request into a Git repository by running: $ git pull https://github.com/efeg/kafka bug/KAFKA-6083 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4093.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 #4093 ---- commit 92ab51d085d8ac9b86981371457195155a955380 Author: Adem Efe Gencer <agen...@linkedin.com> Date: 2017-10-19T18:50:15Z Use CorruptedRecordException (public) rather than InvalidRecordException (not public) as a cause to the KafkaException. ---- ---