[ 
https://issues.apache.org/jira/browse/KAFKA-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769203#comment-15769203
 ] 

huxi commented on KAFKA-4560:
-----------------------------

Could you illustrate a real scenario when 'max.partitions.fetch.records' might 
be a help whereas 'max.poll.records' cannot be used?

> 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)

Reply via email to