Class KafkaReader<K,V>
java.lang.Object
io.confluent.security.store.kafka.clients.KafkaReader<K,V>
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DataplaneAuthReader
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaReader(String topic, int numPartitions, Future<org.apache.kafka.clients.consumer.Consumer<K, V>> consumerFuture, io.confluent.security.store.KeyValueStore<K, V> cache, ConsumerListener<K, V> consumerListener, StatusListener statusListener, KafkaStoreConfig storeConfig, org.apache.kafka.common.utils.Time time) -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns future that completes when existing records on all partitions at the time the KafkaReader was started are processed and available in the cache.voidrun()
-
Constructor Details
-
KafkaReader
public KafkaReader(String topic, int numPartitions, Future<org.apache.kafka.clients.consumer.Consumer<K, V>> consumerFuture, io.confluent.security.store.KeyValueStore<K, V> cache, ConsumerListener<K, V> consumerListener, StatusListener statusListener, KafkaStoreConfig storeConfig, org.apache.kafka.common.utils.Time time)
-
-
Method Details
-
start
-
run
-
existingRecordsFuture
Returns future that completes when existing records on all partitions at the time the KafkaReader was started are processed and available in the cache. -
close
-