GitHub user becketqin opened a pull request: https://github.com/apache/kafka/pull/3573
KAFKA-5630; The consumer should block on courrupt records and keeping throw exception This patch handles the case that a CorruptRecordException is thrown from the iterator directly. You can merge this pull request into a Git repository by running: $ git pull https://github.com/becketqin/kafka KAFKA-5630 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3573.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 #3573 ---- commit e51ddce3ddacefee7101b95021a3af5da32bcff4 Author: Jiangjie Qin <becket....@gmail.com> Date: 2017-07-25T18:20:09Z KAFKA-5630; The consumer should block on courrupt records and keeping throw exception. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---