Class KafkaProducerTest.MonitorableInterceptor

java.lang.Object
org.apache.kafka.test.MockProducerInterceptor
org.apache.kafka.clients.producer.KafkaProducerTest.MonitorableInterceptor
All Implemented Interfaces:
AutoCloseable, org.apache.kafka.clients.producer.ProducerInterceptor<String,String>, org.apache.kafka.common.ClusterResourceListener, org.apache.kafka.common.Configurable, org.apache.kafka.common.metrics.Monitorable
Enclosing class:
KafkaProducerTest

public static class KafkaProducerTest.MonitorableInterceptor extends MockProducerInterceptor implements org.apache.kafka.common.metrics.Monitorable
  • Constructor Details

    • MonitorableInterceptor

      public MonitorableInterceptor()
  • Method Details

    • withPluginMetrics

      public void withPluginMetrics(org.apache.kafka.common.metrics.PluginMetrics metrics)
      Specified by:
      withPluginMetrics in interface org.apache.kafka.common.metrics.Monitorable