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 | 
|---|---|
| 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. | 
void configure(Map<String,?> configs)
configure in interface ConfigurablePrincipal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator) throws KafkaException
KafkaExceptionvoid close()
    throws KafkaException
KafkaException