Class DataplaneAuthReader<K,V>
java.lang.Object
io.confluent.security.store.kafka.clients.KafkaReader<K,V>
io.confluent.security.auth.dataplane.DataplaneAuthReader<K,V>
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorsConstructorDescriptionDataplaneAuthReader(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 kafkaStoreConfig, org.apache.kafka.common.utils.Time time) DataplaneAuthReader(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 kafkaStoreConfig, org.apache.kafka.common.utils.Time time, com.yammer.metrics.core.Meter recordFailureMeter) -
Method Summary
Modifier and TypeMethodDescriptionvoidexistingRecordsFuture(org.apache.kafka.common.TopicPartition topicPartition) voidprocessConsumerRecord(org.apache.kafka.clients.consumer.ConsumerRecord<K, V> record) Methods inherited from class io.confluent.security.store.kafka.clients.KafkaReader
existingRecordsFuture, run, start
-
Constructor Details
-
DataplaneAuthReader
public DataplaneAuthReader(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 kafkaStoreConfig, org.apache.kafka.common.utils.Time time, com.yammer.metrics.core.Meter recordFailureMeter) -
DataplaneAuthReader
public DataplaneAuthReader(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 kafkaStoreConfig, org.apache.kafka.common.utils.Time time)
-
-
Method Details
-
existingRecordsFuture
public CompletableFuture<Void> existingRecordsFuture(org.apache.kafka.common.TopicPartition topicPartition) -
processConsumerRecord
-
close
- Overrides:
closein classKafkaReader<K,V>
-