Package com.networknt.kafka.consumer
Class AbstractConsumer
- java.lang.Object
-
- com.networknt.kafka.consumer.AbstractConsumer
-
- All Implemented Interfaces:
LightConsumer
public abstract class AbstractConsumer extends Object implements LightConsumer
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.kafka.clients.consumer.KafkaConsumer<byte[],byte[]>consumer
-
Constructor Summary
Constructors Constructor Description AbstractConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidopen()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.kafka.consumer.LightConsumer
registerModule
-
-
-
-
Method Detail
-
open
public void open()
- Specified by:
openin interfaceLightConsumer
-
close
public void close()
- Specified by:
closein interfaceLightConsumer
-
-