KafkaPrincipalBuilder
instead. This will be removed in
a future major release.@InterfaceStability.Unstable @Deprecated public interface PrincipalBuilder extends Configurable
Modifier and Type | Method and Description |
---|---|
java.security.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(java.util.Map<java.lang.String,?> configs)
Deprecated.
Configures this class with given key-value pairs.
|
void configure(java.util.Map<java.lang.String,?> configs)
configure
in interface Configurable
java.security.Principal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator) throws KafkaException
KafkaException
void close() throws KafkaException
KafkaException