Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D9477200C03 for ; Sat, 7 Jan 2017 00:31:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D7FC5160B48; Fri, 6 Jan 2017 23:31:51 +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 28BCD160B39 for ; Sat, 7 Jan 2017 00:31:51 +0100 (CET) Received: (qmail 84837 invoked by uid 500); 6 Jan 2017 23:31:45 -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 84809 invoked by uid 99); 6 Jan 2017 23:31:44 -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; Fri, 06 Jan 2017 23:31:44 +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 365791A0507 for ; Fri, 6 Jan 2017 23:31:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id LZ87yaT8QVtC for ; Fri, 6 Jan 2017 23:31:43 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DB6455FCA2 for ; Fri, 6 Jan 2017 23:31:42 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id k184so49911999wme.1 for ; Fri, 06 Jan 2017 15:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=KJA6kTW6YlLrsORctjQWo6eRsx9Ik+HztZQ9vxf2sX4=; b=FyWn+MNS5LPmFsyJ7H3Peb8tfC/Nwz2pa5u5w7tpKrZD/BYq0BL7A+Q415IyUPQBah G7tAZN2aOdg1tHGTM/Z4dTlYRDpRIuSSHLZdh/SjPC81mnwTBTJzhnUhhAbKBHB0838E 6gRRuzexFxzJ7rsIUE/Z0eKGYx/KoOJjfbEuL+POkivm7v8dpkWzpDjPp4l94O2KuMvN XsC63MqdhPga6lz2yT05cR3ykNsPnvKflM0xHrbA2XBvgNZn9IxV52yJZl1WpyKeSKMK yKovN7t51gnjjHdTYwL7eMcsE6nyrMq85JKA58twO6dzk8UJNpvZtRFMf1qIa9CHftxp Z0cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=KJA6kTW6YlLrsORctjQWo6eRsx9Ik+HztZQ9vxf2sX4=; b=PHPlQARgLBiC9RavLAQKX/7LZ0f3wGtte7YZuAcY+my22gF15Am1aGPwEu1H80H4fO 4zu6mBzSWCipICYilYNXOml3LcvfpkdjjJ9qOl/sm8WAQbRwzhQi3L0ZD4pLSuhJzqsK m1neM3K3jSF+TiDlVAydLC3nFyQ9kiKUM/NqaQBR5mTQTkcJ+Ho3Lm2w8i0BeKVuhwJ6 Z/liMEIHztq5BPSqEdBPzSF0i8+F1gmGhnkY1LRPw3wO1XS2/uhyw/4lZ7CRSw/WjZXX DIBbYJ76OqtsyVZ1rItIXDW0F3HgZbmwlvKrhlllmTG8+2Q+NWyziTnRTiz1babknPbq vxtQ== X-Gm-Message-State: AIkVDXJ01/7anKqGff0tNcJNlz/uhJQJBYcgdcpwKTKdxb8FPmWC9hCOjOQ2EO9ge5dSsg== X-Received: by 10.223.163.87 with SMTP id d23mr2960705wrb.87.1483745498792; Fri, 06 Jan 2017 15:31:38 -0800 (PST) Received: from [192.168.0.5] (cpc91224-cmbg18-2-0-cust223.5-4.cable.virginm.net. [81.106.228.224]) by smtp.gmail.com with ESMTPSA id uz7sm16329110wjc.11.2017.01.06.15.31.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2017 15:31:37 -0800 (PST) From: Eno Thereska Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: [DISCUSS] KIP-104: Granular Sensors for Streams Date: Fri, 6 Jan 2017 23:31:36 +0000 References: <7F508D8F-5036-4DA2-98BB-536AE6DBE7A6@gmail.com> To: dev@kafka.apache.org In-Reply-To: Message-Id: <295C5BFE-328B-4A01-A0E1-6F68527D8AB7@gmail.com> X-Mailer: Apple Mail (2.3259) archived-at: Fri, 06 Jan 2017 23:31:52 -0000 Thanks Guozhang, I adjusted the KIP to explicitly mention that we are = exposing the Metrics object now as Ismael suggested, since it was lost = in the details. Eno > On 6 Jan 2017, at 22:16, Ismael Juma wrote: >=20 > Thanks for the explanation Eno. The KIP did mention that the metrics > registry would be exposed, yes. What is missing is that the registry = is not > currently exposed by anything else. Traditionally, we list all public = APIs > created by a KIP, which is effectively true for the registry in this = case. > Did we consider using an interface instead of the concrete class? It = seems > that a lot of these things were discussed in the PR, so it would be = good to > have a summary in the KIP too. >=20 > Ismael >=20 > On Fri, Jan 6, 2017 at 9:10 PM, Eno Thereska = wrote: >=20 >> So the KIP proposes exposing the metrics registry (second paragraph = under >> motivation). The community has indicated that they would like to 1. = access >> all the metrics and 2. register their own. We provide some helper >> interfaces for them to register throughput and latency metrics, but >> ultimately we felt it's best for them to have access to the full = registry >> as well. This is because application code is now intertwined with the >> streams library and we don't want to limit the kinds of metrics they = might >> want to register, nor do we necessarily want to provide yet another = wrapper >> around Metrics. >>=20 >> Thanks, >> Eno >>=20 >>> On 6 Jan 2017, at 20:34, Ismael Juma wrote: >>>=20 >>> Thanks for the KIP. Sounds useful. One thing that wasn't made clear = is >> that >>> we are exposing `Metrics` as a public class for the first time. = Neither >> the >>> consumer or producer expose it at the moment. Do we want to expose = the >>> whole class or would it be better to expose a more limited = interface? >>>=20 >>> Ismael >>>=20 >>> On Sat, Dec 31, 2016 at 4:26 AM, Aarti Gupta >> wrote: >>>=20 >>>> Hi all, >>>>=20 >>>> I would like to start the discussion on KIP-104: Granular Sensors = for >>>> Streams >>>> >>> 104%3A+Granular+Sensors+for+Streams?src=3Dcontextnavchildmode> >>>>=20 >>>> *https://cwiki.apache.org/confluence/pages/viewpage. >> action?pageId=3D67636480 >>>> > action?pageId=3D67636480 >>>>> * >>>>=20 >>>> Looking forward to your feedback. >>>>=20 >>>> Thanks, >>>> Aarti and Eno >>>>=20 >>=20 >>=20