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 4388DC4D4 for ; Sun, 30 Nov 2014 10:36:13 +0000 (UTC) Received: (qmail 14225 invoked by uid 500); 30 Nov 2014 10:36:13 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 14179 invoked by uid 500); 30 Nov 2014 10:36:13 -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 14020 invoked by uid 99); 30 Nov 2014 10:36:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 10:36:12 +0000 Date: Sun, 30 Nov 2014 10:36:12 +0000 (UTC) From: "Manikumar Reddy (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1799) ProducerConfig.METRIC_REPORTER_CLASSES_CONFIG doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229066#comment-14229066 ] Manikumar Reddy commented on KAFKA-1799: ---------------------------------------- Updated reviewboard https://reviews.apache.org/r/28536/diff/ against branch origin/trunk > ProducerConfig.METRIC_REPORTER_CLASSES_CONFIG doesn't work > ---------------------------------------------------------- > > Key: KAFKA-1799 > URL: https://issues.apache.org/jira/browse/KAFKA-1799 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.2 > Reporter: Jun Rao > Assignee: Manikumar Reddy > Priority: Blocker > Labels: newbie++ > Fix For: 0.8.2 > > Attachments: KAFKA-1799.patch, KAFKA-1799_2014-11-30_15:58:32.patch, KAFKA-1799_2014-11-30_16:04:16.patch > > > When running the following test, we got an unknown configuration exception. > @Test > public void testMetricsReporter() { > Properties producerProps = new Properties(); > producerProps.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "host1:123"); > producerProps.put(ProducerConfig.METRIC_REPORTER_CLASSES_CONFIG, "org.apache.kafka.clients.producer.new-metrics-reporter"); > new KafkaProducer(producerProps); > } > org.apache.kafka.common.config.ConfigException: Unknown configuration 'org.apache.kafka.clients.producer.new-metrics-reporter' > at org.apache.kafka.common.config.AbstractConfig.get(AbstractConfig.java:60) > at org.apache.kafka.common.config.AbstractConfig.getClass(AbstractConfig.java:91) > at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:147) > at org.apache.kafka.clients.producer.KafkaProducer.(KafkaProducer.java:105) > at org.apache.kafka.clients.producer.KafkaProducer.(KafkaProducer.java:94) -- This message was sent by Atlassian JIRA (v6.3.4#6332)