THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Both
PrincipalBuilder
and KafkaPrincipalBuilder
will be exposed through the principal.builder.class
configuration.To avoid confusion when using extensions of
KafkaPrincipal
, we intend to deprecate and eventually remove the static fromString
method since it only supports construction of KafkaPrincipal
instances.Rejected Alternatives
Another option to add support for SASL might be to modify the SaslServerAuthenticator
to use the existing PrincipalBuilder
. This allows us to write a custom PrincipalBuilder
such as the following:
...