Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, the ChannelBuilders class has been updated to accommodate these changes and provide support for custom principal builders with different authentication mechanisms.


Firstly, the KerberosPrincipalBuilder interface is defined as follows:

Code Block
languagejava
linenumberstrue
public interface KerberosPrincipalBuilder extends KafkaPrincipalBuilder {
    void buildKerberosPrincipalBuilder(KerberosShortNamer kerberosShortNamer);
}


Secondly, the SSLPrincipalBuilder interface is defined as follows:

Code Block
languagejava
linenumberstrue
public interface SSLPrincipalBuilder extends KafkaPrincipalBuilder {
    void buildSSLPrincipalBuilder(SslPrincipalMapper sslPrincipalMapper);
}


Compatibility, Deprecation, and Migration Plan

...