From user-return-3279-archive-asf-public=cust-asf.ponee.io@beam.apache.org Thu May 17 17:02:39 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BC411180634 for ; Thu, 17 May 2018 17:02:38 +0200 (CEST) Received: (qmail 15542 invoked by uid 500); 17 May 2018 15:02:37 -0000 Mailing-List: contact user-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@beam.apache.org Delivered-To: mailing list user@beam.apache.org Received: (qmail 15532 invoked by uid 99); 17 May 2018 15:02:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2018 15:02:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 11D2E1A0713 for ; Thu, 17 May 2018 15:02:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.889 X-Spam-Level: * X-Spam-Status: No, score=1.889 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WJwkNnpbWh1r for ; Thu, 17 May 2018 15:02:32 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B7E575F5FA for ; Thu, 17 May 2018 15:02:31 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id 131-v6so2881343vkf.8 for ; Thu, 17 May 2018 08:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lDM7tVmMU43PrMchgDjZ7CeO6hS8VTmr2MKY5wjDmQ8=; b=aQ2Eg0o+M4tlq0ylygFElrWLLdUQ+BE8W8htx3AB9Q8R9lOg72x3jln33vCVjPQjeG eyrZhiqaQhnar7YgIqh7/ALZMvqN/ficoFOevmSujpjyKV6ct6tgbl9UOrOyqcj3CBOK zxaEwQs13aNaZ0fGdf1qmMu5jX8rlXrAJhSlnotu4v7XRvyHQbiWe7hmvA4ozn1hEkSw NElRwxOHr8mIkksg7ULfFGjJMdwV8XJTC1MTTJMOkG5vE49tHSQPjj2kSg31VW85bEHa TlrGve021RrfZD6LxneVkwu5DI8y/xwqhOgQPcakGRBRJ/3VeeSHcRAfV7BM4QaOAOR6 MeJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lDM7tVmMU43PrMchgDjZ7CeO6hS8VTmr2MKY5wjDmQ8=; b=FmafC9OfEYMz2dTxdhO9X7fKcFMeZFz2kypTaFYDxX+61RxSVe5hbhpbdhi7ZzuMkZ yT4+X0YZBOL7guvLSIFg+UASAEPGTLVGGi8RgBeJvM1Keiz7xjY/8M8PO+3VuUGeCKuR MTkiyUIebJBMkazG5nikmYvF6VwKnRplUm2I8ePQZtpl9zYIndzgZTxhhp2VQ9cMM+fv +Cux9qFe7NtotkTh/NOCo2YQX5OtOMJe3mWL/taFCj6A24SQ/tIyXftn/h83D8r/lr5I U6Q0MNSaVqVRIANxfMjGn0nsc/hSa1meHAcH0WIgiU0Pgh0SLxz737WPnk6UvGyszdNz zdDQ== X-Gm-Message-State: ALKqPwdkQmmZHmUKRKQkxJAfyrTGX00XpRRpDuNFouYOAnDMyvXgO2bF fEaP7BKVE29eIYYS54YIDY3+BKymjrWeoTtoLQ7vE1tq X-Google-Smtp-Source: AB8JxZpvxPcvnefITHDQBEOh/Q67GqS3SvyVNEWCCz/Ng0eMGlputjWqimxohg0K+uT/x8y00/WnXnWBT3WOyt6DdeY= X-Received: by 2002:a1f:be4a:: with SMTP id o71-v6mr4288855vkf.134.1526569344721; Thu, 17 May 2018 08:02:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Lukasz Cwik Date: Thu, 17 May 2018 08:02:10 -0700 Message-ID: Subject: Re: Access to current watermark To: user@beam.apache.org Content-Type: multipart/alternative; boundary="000000000000850046056c681f81" --000000000000850046056c681f81 Content-Type: text/plain; charset="UTF-8" This is not exposed programatically. Depending on which runner your using, you may be able to query for the watermark through its monitoring APIs if it is exposed as a metric and you know what it is called. This is likely to be brittle implementation and also the data is likely to be stale. On Thu, May 17, 2018 at 1:31 AM Jozef Vilcek wrote: > Hello, > is there a way to observe `current watermark` when processing elements of > triggered window? > What I am trying to achieve is, to have on one window quite large late > comer event allowance and I want to log information on how much late behind > the watermark event did came in. > > --000000000000850046056c681f81 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is not exposed programatically. Depending on which ru= nner your using, you may be able to query for the watermark through its mon= itoring APIs if it is exposed as a metric and you know what it is called. T= his is likely to be brittle implementation and also the data is likely to b= e stale.

On Thu, May 1= 7, 2018 at 1:31 AM Jozef Vilcek <jozo.vilcek@gmail.com> wrote:
Hello,=C2=A0
is there a way to observe `current watermark= ` when processing elements of triggered window?=C2=A0
What I am trying to achieve is, to have on one wind= ow quite large late comer event allowance and I want to log information on = how much late behind the watermark event did came in.

--000000000000850046056c681f81--