ConfigurableDefaultPrincipalBuilderKafkaPrincipalBuilder instead. This will be removed in
             a future major release.@Unstable @Deprecated public interface PrincipalBuilder extends Configurable
| Modifier and Type | Method | 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 Configurablejava.security.Principal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer,
                                       org.apache.kafka.common.network.Authenticator authenticator)
                                throws KafkaException
KafkaExceptionvoid close()
    throws KafkaException
KafkaException