kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4560) Min / Max Partitions Fetch Records params
Date Tue, 20 Dec 2016 01:57:58 GMT

    [ 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:
>            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

View raw message