GitHub user apurvam opened a pull request: https://github.com/apache/kafka/pull/3355
KAFKA-5457: MemoryRecordsBuilder.hasRoomFor should account for record headers You can merge this pull request into a Git repository by running: $ git pull https://github.com/apurvam/kafka KAFKA-5457-memoryrecordsbuilder-has-room-for-should-account-for-headers Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3355.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 #3355 ---- commit 51ebbef40d3f98d4fbc5c041e53064f529853542 Author: Apurva Mehta <apu...@confluent.io> Date: 2017-06-16T00:52:23Z Ensure that MemoryRecordsBuilder.hasRoomFor accounts for the headers in a record as well ---- --- 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. ---