[ https://issues.apache.org/jira/browse/KAFKA-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762931#comment-15762931 ]
huxi commented on KAFKA-4560: ----------------------------- There is a consumer config named "max.poll.records" that controls the maximum number of records returned in a single call to poll(). Is that what you want? > 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)