-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Copyright 2015 Yahoo Inc. Licensed under the Apache License, Version 2.0 | ||
* See accompanying LICENSE file. | ||
*/ | ||
|
||
package org.apache.kafka.common.metrics | ||
import java.util | ||
|
||
import grizzled.slf4j.Logging | ||
|
||
/* | ||
Override Kafka Client's implementation since we don't want to always report to Jmx | ||
*/ | ||
class JmxReporter(prefix: String) extends MetricsReporter with Logging { | ||
override def init(metrics: util.List[KafkaMetric]): Unit = {} | ||
|
||
override def metricChange(metric: KafkaMetric): Unit = {} | ||
|
||
override def metricRemoval(metric: KafkaMetric): Unit = {} | ||
|
||
override def close(): Unit = {} | ||
|
||
override def configure(configs: util.Map[String, _]): Unit = { | ||
info("Using cmak JmxReporter") | ||
} | ||
} |