GitHub user gosubpl opened a pull request: https://github.com/apache/kafka/pull/3156
KAFKA-5031: validate count of records for DefaultRecordBatch in validateMessagesAndAssignOffsets https://issues.apache.org/jira/browse/KAFKA-5031 Implements additional check for `DefaultRecordBatch` that compares number of records declared in the header with actual number of records. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gosubpl/kafka KAFKA-5031 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3156.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 #3156 ---- commit 9a14e56846d26471042e0fcab701fecf5f2fccd7 Author: gosubpl <git...@gosub.pl> Date: 2017-05-26T20:12:29Z KAFKA-5031: validate count of records for DefaultRecordBatch in validateMessagesAndAssignOffsets ---- --- 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. ---