GitHub user efeg opened 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 88e07d3a3115c4342ad3714d4397ff39b326f12a
Author: Adem Efe Gencer <[email protected]>
Date: 2017-10-19T00:20:04Z
Add the InvalidRecordException as a cause to the KafkaException when
invalid record is found.
----
---