GitHub user nepal opened a pull request: https://github.com/apache/kafka/pull/1812
KIP-74: Add Fetch Response Size Limit in Bytes (KIP-74) [WIP] This PR is incomplete implementation of [KIP-74](https://cwiki.apache.org/confluence/display/KAFKA/KIP-74%3A+Add+Fetch+Response+Size+Limit+in+Bytes) which is originally motivated by [KAFKA-2063](https://issues.apache.org/jira/browse/KAFKA-2063). What is missing: 1) FetchRequest is modified to preserve partition ordering, but clients (Consumer & ReplicaFetcherThread) currently do not do round-robin shuffling of partitions 2) Serven can exceed response limit by up to max.partition.fetch.bytes, not by the size of first message in first partition Your comments are greatly appreciated. You can merge this pull request into a Git repository by running: $ git pull https://github.com/nepal/kafka kip-74 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1812.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 #1812 ---- commit 4a03265fabb563104f37329aff28b27167055c3e Author: Andrey L. Neporada <anepor...@yandex-team.ru> Date: 2016-07-29T12:28:07Z KAFKA-2063: Add possibility to bound fetch response size ---- --- 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. ---