Class MockShareConsumer<K,V>

java.lang.Object
org.apache.kafka.clients.consumer.MockShareConsumer<K,V>
All Implemented Interfaces:
Closeable, AutoCloseable, ShareConsumer<K,V>

public class MockShareConsumer<K,V> extends Object implements ShareConsumer<K,V>
A mock of the ShareConsumer interface you can use for testing code that uses Kafka. This class is not thread-safe .