Class DataplaneBaseAuthStore
java.lang.Object
io.confluent.security.auth.dataplane.DataplaneBaseAuthStore
- All Implemented Interfaces:
io.confluent.security.auth.metadata.AuthStore,ConsumerListener<io.confluent.security.auth.store.data.AuthKey, io.confluent.security.auth.store.data.AuthValue>,Closeable,AutoCloseable,org.apache.kafka.common.Configurable
- Direct Known Subclasses:
AuthnzAuthStore,DataplaneAuthStore
public abstract class DataplaneBaseAuthStore
extends Object
implements io.confluent.security.auth.metadata.AuthStore, ConsumerListener<io.confluent.security.auth.store.data.AuthKey, io.confluent.security.auth.store.data.AuthValue>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from interface io.confluent.security.auth.metadata.AuthStore
INSTANCES -
Method Summary
Modifier and TypeMethodDescriptionactiveNodeUrls(String protocol) voidclose()booleanstatic JsonSerde<io.confluent.security.auth.store.data.AuthKey> keySerde()masterWriterUrl(String protocol) voidonConsumerRecord(org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.security.auth.store.data.AuthKey, io.confluent.security.auth.store.data.AuthValue> record, io.confluent.security.auth.store.data.AuthValue oldValue) Notification of new record consumed by local readerstartService(Collection<URL> nodeUrls) static JsonSerde<io.confluent.security.auth.store.data.AuthValue> io.confluent.security.auth.metadata.AuthWriterwriter()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.confluent.security.auth.metadata.AuthStore
updateStoreAuthCacheExternallyMethods inherited from interface org.apache.kafka.common.Configurable
configure
-
Method Details
-
keySerde
-
valueSerde
-
authCache
- Specified by:
authCachein interfaceio.confluent.security.auth.metadata.AuthStore
-
trustCache
- Specified by:
trustCachein interfaceio.confluent.security.auth.metadata.AuthStore
-
startReader
- Specified by:
startReaderin interfaceio.confluent.security.auth.metadata.AuthStore
-
startService
- Specified by:
startServicein interfaceio.confluent.security.auth.metadata.AuthStore
-
writer
public io.confluent.security.auth.metadata.AuthWriter writer()- Specified by:
writerin interfaceio.confluent.security.auth.metadata.AuthStore
-
isMasterWriter
public boolean isMasterWriter()- Specified by:
isMasterWriterin interfaceio.confluent.security.auth.metadata.AuthStore
-
masterWriterUrl
-
masterWriterId
- Specified by:
masterWriterIdin interfaceio.confluent.security.auth.metadata.AuthStore
-
activeNodeUrls
- Specified by:
activeNodeUrlsin interfaceio.confluent.security.auth.metadata.AuthStore
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
onConsumerRecord
public void onConsumerRecord(org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.security.auth.store.data.AuthKey, io.confluent.security.auth.store.data.AuthValue> record, io.confluent.security.auth.store.data.AuthValue oldValue) Description copied from interface:ConsumerListenerNotification of new record consumed by local reader- Specified by:
onConsumerRecordin interfaceConsumerListener<io.confluent.security.auth.store.data.AuthKey, io.confluent.security.auth.store.data.AuthValue>- Parameters:
record- the record from consumeroldValue- old value corresponding to record key from local cache
-