Interface KafkaPrincipalBuilder


public interface KafkaPrincipalBuilder
Pluggable principal builder interface which supports both SSL authentication through SslAuthenticationContext and SASL through SaslAuthenticationContext. Note that the Configurable and Closeable interfaces are respected if implemented. Additionally, implementations must provide a default no-arg constructor.
  • Method Summary

    Modifier and Type Method Description
    KafkaPrincipal build​(AuthenticationContext context)
    Build a kafka principal from the authentication context.