Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F01818FFC for ; Thu, 14 Jan 2016 00:16:53 +0000 (UTC) Received: (qmail 92414 invoked by uid 500); 14 Jan 2016 00:16:53 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 92318 invoked by uid 500); 14 Jan 2016 00:16:53 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 92301 invoked by uid 99); 14 Jan 2016 00:16:52 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 00:16:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 66B82C0092 for ; Thu, 14 Jan 2016 00:16:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NlRKP90rxiQx for ; Thu, 14 Jan 2016 00:16:46 +0000 (UTC) Received: from mail-yk0-f172.google.com (mail-yk0-f172.google.com [209.85.160.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C449F2306B for ; Thu, 14 Jan 2016 00:16:45 +0000 (UTC) Received: by mail-yk0-f172.google.com with SMTP id x67so509765895ykd.2 for ; Wed, 13 Jan 2016 16:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NpVrkFR2f2AIgH8CpDiIAWcjgFd+fYg37+7u6NBRxPc=; b=yjQdDRCXu4pctz+gZ2lcOu2XWllAasFSiG80F8fjTekyCRqOE1FAcIPDi9sDyWDq9w 7zOcyBlYfEaj20gPESishQa1C0GuvZkfU7kD4h4EGpOXx4IYnVOGigQIvcWNcBy6jk83 KJvlOaLjdkHIpV7lror3de94VsHxFGPkqwG3aaaLtFX27TuhRCsI09jizNEe81LzR7Cb Ri3ejvaAz56ec1YWDNn9Eb4IxKntjJp3HEHVdSkXt7N3hxibLJBfZmSHD7MkkTshWE0R kY5Xmk5ffbaMzQrD4e8+fnHWCFswiMhjD6m3Rjb8nkowghGxirvaqLMmuHL3Yl2jPGwi VGoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=NpVrkFR2f2AIgH8CpDiIAWcjgFd+fYg37+7u6NBRxPc=; b=C9lCkbwOa/mdqym+X1flTWXSvZKVWUNKmhnwrBKTkwifXN4xGLplOvMJXSfft3i6/h wXMEkWGqlA4d0+m8SP4qUoEF8z+Qx052HcsW6G02xdfxOryx5uQ0wOZTaXatDPhki5nU WP+tKES72slulM5Z1OU+V15XlX6pR9uMZiMf99tR1/xG2ss6aF293+zCv917YoJH9z7d xqDuBrBuPGVzYsN7r2AXnph5zl/oRv24ZFevzyHTTwWFvRKNgfB2QJ+W9oY5Uor/0m3l DOCumZqfbzfRsRxaMjB814NZ8EhXNGhiIm15K6A3ccwr6zILvbOgcJsryXN7jRCdR462 Pp7Q== X-Gm-Message-State: ALoCoQl/2FW6roFa3d4INo80LjY7NCyIx7XWw1CDIb2YNIOhksqnb3FHkEiymoQTv1NmpDgVrnKhDd36qXNZrisujOHIo2GaFQ== MIME-Version: 1.0 X-Received: by 10.129.85.88 with SMTP id j85mr996724ywb.194.1452730605068; Wed, 13 Jan 2016 16:16:45 -0800 (PST) Received: by 10.37.217.16 with HTTP; Wed, 13 Jan 2016 16:16:45 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Jan 2016 16:16:45 -0800 Message-ID: Subject: Re: [VOTE] KIP-41: Consumer Max Records From: Aarti Gupta To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary=001a113f27e6ab6c3d0529403388 --001a113f27e6ab6c3d0529403388 Content-Type: text/plain; charset=UTF-8 +1, this seems to be the best non intrusive option, and allows us to process a known amount of message on each poll. We can handle consumer memory footprints in a separate KIP. -Thanks aarti On Wed, Jan 13, 2016 at 3:18 PM, Jason Gustafson wrote: > Hi All, > > I'd like to open up the vote on KIP-41. This KIP adds a new consumer > configuration option "max.poll.records" which sets an upper bound on the > number of records returned in a call to poll(). This gives users a way to > limit message processing time to avoid unexpected rebalancing. This change > is backwards compatible with the default implementing the current behavior. > > Here's a link to the KIP wiki: > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-41%3A+KafkaConsumer+Max+Records > > Thanks, > Jason > --001a113f27e6ab6c3d0529403388--