From commits-return-55590-archive-asf-public=cust-asf.ponee.io@beam.apache.org Thu Jan 11 12:00:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8555B180656 for ; Thu, 11 Jan 2018 12:00:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 62A2C160C42; Thu, 11 Jan 2018 11:00:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A73CA160C1F for ; Thu, 11 Jan 2018 12:00:03 +0100 (CET) Received: (qmail 39377 invoked by uid 500); 11 Jan 2018 11:00:02 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 39368 invoked by uid 99); 11 Jan 2018 11:00:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2018 11:00:02 +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 71DC3C38B1 for ; Thu, 11 Jan 2018 11:00:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id W4Jzj79ugH0W for ; Thu, 11 Jan 2018 11:00:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AB68D5F3CD for ; Thu, 11 Jan 2018 11:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 43A11E1288 for ; Thu, 11 Jan 2018 11:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A6389255CD for ; Thu, 11 Jan 2018 11:00:00 +0000 (UTC) Date: Thu, 11 Jan 2018 11:00:00 +0000 (UTC) From: =?utf-8?Q?Isma=C3=ABl_Mej=C3=ADa_=28JIRA=29?= To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (BEAM-1847) KafkaIO can't specify both max records and max duration. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BEAM-1847?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Isma=C3=ABl Mej=C3=ADa updated BEAM-1847: ------------------------------- Priority: Minor (was: Major) > KafkaIO can't specify both max records and max duration. > -------------------------------------------------------- > > Key: BEAM-1847 > URL: https://issues.apache.org/jira/browse/BEAM-1847 > Project: Beam > Issue Type: Improvement > Components: sdk-java-extensions > Reporter: Ryan Skraba > Assignee: Ryan Skraba > Priority: Minor > > Some Beam IOs that expose the ability to turn an unbounded source into a = bounded source. =20 > For example, KafkaIO uses the underlying Read.from() API to specify the {= {withMaxNumRecords}} and/or {{withMaxReadTime}}. If the former is specifie= d, the latter is silently ignored. =20 > I would expect that the first stopping condition to be reached (either ma= x records OR max duration) would stop the source. =20 > The underlying implementation {{BoundedReadFromUnboundedSource}} has this= logic, but it is not supported -in Read.Unbounded- or the Beam IOs that ex= pose this feature. -- This message was sent by Atlassian JIRA (v6.4.14#64029)