Interface PrincipalBuilder
-
- All Superinterfaces:
Configurable
- All Known Implementing Classes:
DefaultPrincipalBuilder
@Unstable @Deprecated public interface PrincipalBuilder extends Configurable
Deprecated.As of Kafka 1.0.0, useKafkaPrincipalBuilderinstead. This will be removed in a future major release.PrincipalBuilder for Authenticator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PrincipalbuildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator)Deprecated.Returns Principal.voidclose()Deprecated.Closes this instance.voidconfigure(Map<String,?> configs)Deprecated.Configures this class with given key-value pairs.
-
-
-
Method Detail
-
configure
void configure(Map<String,?> configs)
Deprecated.Configures this class with given key-value pairs.- Specified by:
configurein interfaceConfigurable
-
buildPrincipal
Principal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator) throws KafkaException
Deprecated.Returns Principal.- Throws:
KafkaException
-
close
void close() throws KafkaExceptionDeprecated.Closes this instance.- Throws:
KafkaException
-
-