Interface PrincipalBuilder
-
- All Superinterfaces:
Configurable
- All Known Implementing Classes:
DefaultPrincipalBuilder
@Unstable @Deprecated public interface PrincipalBuilder extends Configurable
Deprecated.As of Kafka 1.0.0, useKafkaPrincipalBuilder
instead. 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 Principal
buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator)
Deprecated.Returns Principal.void
close()
Deprecated.Closes this instance.void
configure(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:
configure
in 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 KafkaException
Deprecated.Closes this instance.- Throws:
KafkaException
-
-