Interface KafkaPrincipalBuilder
- 
public interface KafkaPrincipalBuilderPluggable principal builder interface which supports both SSL authentication throughSslAuthenticationContextand SASL throughSaslAuthenticationContext. Note that theConfigurableandCloseableinterfaces are respected if implemented. Additionally, implementations must provide a default no-arg constructor. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KafkaPrincipalbuild(AuthenticationContext context)Build a kafka principal from the authentication context. 
 - 
 
- 
- 
Method Detail
- 
build
KafkaPrincipal build(AuthenticationContext context)
Build a kafka principal from the authentication context.- Parameters:
 context- The authentication context (eitherSslAuthenticationContextorSaslAuthenticationContext)- Returns:
 - The built principal which may provide additional enrichment through a subclass of
        
KafkaPrincipalBuilder. 
 
 - 
 
 -