Class LdapStore
java.lang.Object
io.confluent.security.auth.provider.ldap.LdapStore
- All Implemented Interfaces:
ExternalStore,org.apache.kafka.common.Configurable
-
Constructor Summary
ConstructorsConstructorDescriptionLdapStore(io.confluent.security.auth.metadata.AuthCache authCache, KafkaAuthWriter writer, org.apache.kafka.common.utils.Time time) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanfailed()Returns true if the external store has failed and retries have timed out.voidstart(int generationId) Starts consuming metadata from the external store.voidStops consuming metadata from the external store if the provided generation id is null or equal to the current generation id of this store.
-
Constructor Details
-
LdapStore
public LdapStore(io.confluent.security.auth.metadata.AuthCache authCache, KafkaAuthWriter writer, org.apache.kafka.common.utils.Time time)
-
-
Method Details
-
configure
- Specified by:
configurein interfaceorg.apache.kafka.common.Configurable
-
start
public void start(int generationId) Description copied from interface:ExternalStoreStarts consuming metadata from the external store.- Specified by:
startin interfaceExternalStore- Parameters:
generationId- The generation id of the writer
-
stop
Description copied from interface:ExternalStoreStops consuming metadata from the external store if the provided generation id is null or equal to the current generation id of this store.- Specified by:
stopin interfaceExternalStore- Parameters:
generationId- The generation id to match or null to match any generation
-
failed
public boolean failed()Description copied from interface:ExternalStoreReturns true if the external store has failed and retries have timed out.- Specified by:
failedin interfaceExternalStore
-