Class KafkaConsumerTest.MonitorableInterceptor
java.lang.Object
org.apache.kafka.test.MockConsumerInterceptor
org.apache.kafka.clients.consumer.KafkaConsumerTest.MonitorableInterceptor
- All Implemented Interfaces:
AutoCloseable, org.apache.kafka.clients.consumer.ConsumerInterceptor<String,String>, org.apache.kafka.common.ClusterResourceListener, org.apache.kafka.common.Configurable, org.apache.kafka.common.metrics.Monitorable
- Enclosing class:
KafkaConsumerTest
public static class KafkaConsumerTest.MonitorableInterceptor
extends MockConsumerInterceptor
implements org.apache.kafka.common.metrics.Monitorable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwithPluginMetrics(org.apache.kafka.common.metrics.PluginMetrics metrics) Methods inherited from class MockConsumerInterceptor
close, configure, onCommit, onConsume, onUpdate, resetCounters, setThrowOnConfigExceptionThreshold
-
Constructor Details
-
MonitorableInterceptor
public MonitorableInterceptor()
-
-
Method Details
-
withPluginMetrics
public void withPluginMetrics(org.apache.kafka.common.metrics.PluginMetrics metrics) - Specified by:
withPluginMetricsin interfaceorg.apache.kafka.common.metrics.Monitorable
-