conduktor.io ↗

KIP-189 — Improve principal builder interface and add support for SASL

Accepted Kafka 1.0 Security

Replaces the existing `PrincipalBuilder` interface (which only supports SSL) with an extended `KafkaPrincipalBuilder` interface that provides typed callbacks for both SSL (`SslAuthenticationContext`) and SASL (`SaslAuthenticationContext`) authentication contexts, enabling custom principal extraction from SASL credentials. The old interface had no SASL support and relied on `TransportLayer`/`Authenticator` internals that are not stable public API.

Details

AuthorJason Gustafson
StatusAccepted
Kafka Version1.0
JIRAKAFKA-5783
WikiView on Apache Wiki
Created2017-08-17
Last Modified2017-09-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.