Class KafkaMetric

java.lang.Object
org.apache.kafka.common.metrics.KafkaMetric
All Implemented Interfaces:
Metric

public final class KafkaMetric
extends Object
implements Metric
  • Constructor Details

  • Method Details

    • config

      public MetricConfig config()
    • metricName

      public MetricName metricName()
      Description copied from interface: Metric
      A name for this metric
      Specified by:
      metricName in interface Metric
    • metricValue

      public Object metricValue()
      Description copied from interface: Metric
      The value of the metric, which may be measurable or a non-measurable gauge
      Specified by:
      metricValue in interface Metric
    • measurable

      public Measurable measurable()
    • config

      public void config​(MetricConfig config)