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 1E622200AC8 for ; Tue, 7 Jun 2016 16:20:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D1D1160968; Tue, 7 Jun 2016 14:20:23 +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 69FF0160A36 for ; Tue, 7 Jun 2016 16:20:22 +0200 (CEST) Received: (qmail 47573 invoked by uid 500); 7 Jun 2016 14:20:21 -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 47304 invoked by uid 99); 7 Jun 2016 14:20:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2016 14:20:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0F0192C1F69 for ; Tue, 7 Jun 2016 14:20:21 +0000 (UTC) Date: Tue, 7 Jun 2016 14:20:21 +0000 (UTC) From: "Jeff Klukas (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-3711) Allow configuration of MetricsReporter subclasses MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 07 Jun 2016 14:20:23 -0000 [ https://issues.apache.org/jira/browse/KAFKA-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318546#comment-15318546 ] Jeff Klukas commented on KAFKA-3711: ------------------------------------ I would love to see this fixed as well. I'd also love to see some more documentation about Kafka's config framework and how various interfaces like {{MetricsReporter}} are intended to be used. Specifically, I'd like to see the developer docs describe that it's intended that user-provided classes can define configuration options and provide some advice about how to name those options. I'd be interested in contributing docs and cleaning up the config code if it's clear what needs to be done. Am I correct in understanding that the code change needed here is to ensure that {{originals()}} is called rather than {{this.originals}} everywhere that we're passing configs on in {{AbstractConfig}}? > Allow configuration of MetricsReporter subclasses > ------------------------------------------------- > > Key: KAFKA-3711 > URL: https://issues.apache.org/jira/browse/KAFKA-3711 > Project: Kafka > Issue Type: Improvement > Components: clients, streams > Reporter: Jeff Klukas > Assignee: Guozhang Wang > Priority: Minor > Fix For: 0.10.1.0 > > > The current interface for attaching metrics reporters to clients allows only defining a list of class names, but provides no means for configuring those reporters. > There is at least one existing project (https://github.com/apakulov/kafka-graphite) that solves this problem by passing additional properties into the client, which then get passed on to the reporter. This seems to work quite well, but it generates warnings like {{The configuration kafka.graphite.metrics.prefix = foo was supplied but isn't a known config.}} > Should passing arbitrary additional parameters like this be officially supported as the way to configure metrics reporters? Should these warnings about unrecognized parameters be removed? > Perhaps there should be some mechanism for registering additional configuration parameters for clients to expect? -- This message was sent by Atlassian JIRA (v6.3.4#6332)