[ https://issues.apache.org/jira/browse/KAFKA-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15763036#comment-15763036 ]
Stephane Maarek commented on KAFKA-4560: ---------------------------------------- Basically if you set the max bytes, each partitions will fetch records up until the max bytes is met. My ticket is a feature request to offer a similar parameter, named max.partitions.fetch.records, which would limit the number of records fetched by partitions at every request. The requirement isn't addressed by max.poll.records. Makes sense? > Min / Max Partitions Fetch Records params > ----------------------------------------- > > Key: KAFKA-4560 > URL: https://issues.apache.org/jira/browse/KAFKA-4560 > Project: Kafka > Issue Type: Improvement > Components: consumer > Affects Versions: 0.10.0.1 > Reporter: Stephane Maarek > Labels: features, newbie > > There is currently a `max.partition.fetch.bytes` parameter to limit the total > size of the fetch call (also a min). > Sometimes I'd like to control how many records altogether I'm getting at the > time and I'd like to see a `max.partition.fetch.records` (also a min). > If both are specified the first condition that is met would complete the > fetch call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)