Class InterceptorUtils.AnotherMockRecordInterceptor
java.lang.Object
org.apache.kafka.test.InterceptorUtils.AnotherMockRecordInterceptor
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.Configurable, org.apache.kafka.server.interceptor.RecordInterceptor
- Enclosing class:
InterceptorUtils
public static class InterceptorUtils.AnotherMockRecordInterceptor
extends Object
implements org.apache.kafka.server.interceptor.RecordInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kafka.server.interceptor.RecordInterceptor
org.apache.kafka.server.interceptor.RecordInterceptor.RecordInterceptorResponse -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<org.apache.kafka.common.record.internal.Record> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.server.interceptor.RecordInterceptor
close, setMetrics
-
Field Details
-
INTERCEPTED
-
CONFIGURED
-
-
Constructor Details
-
AnotherMockRecordInterceptor
public AnotherMockRecordInterceptor()
-
-
Method Details
-
configure
-
onAppend
public org.apache.kafka.server.interceptor.RecordInterceptor.RecordInterceptorResponse onAppend(org.apache.kafka.common.TopicPartition tp, org.apache.kafka.common.record.internal.Record record) - Specified by:
onAppendin interfaceorg.apache.kafka.server.interceptor.RecordInterceptor
-