KafkaPrincipal build(
AuthenticationContext context)
KafkaPrincipalBuilder
KafkaPrincipalBuilder
is the abstraction of principal builders that can build a KafkaPrincipal for authentication.
Note
|
Configurable and java.io.Closeable interfaces are respected if implemented.
|
KafkaPrincipalBuilder
is configured by the principal.builder.class configuration property.
Method | Description |
---|---|
|
Builds a KafkaPrincipal for the Used when:
|
Note
|
DefaultKafkaPrincipalBuilder is the default and only known KafkaPrincipalBuilder in Apache Kafka.
|