Authenticator authenticator
KafkaChannel
KafkaChannel is created when ChannelBuilders are requested to build one (i.e. PlaintextChannelBuilder, SaslChannelBuilder, and SslChannelBuilder).
Creating KafkaChannel Instance
KafkaChannel takes the following to be created:
-
(
Supplierof) Authenticator
KafkaChannel initializes the internal properties.
KafkaChannel and Authenticator
authenticator is a Authenticator that is created when KafkaChannel is and requested to swapAuthenticatorsAndBeginReauthentication.
Used for principal, prepare, completeCloseOnAuthenticationFailure, ready, maybeBeginServerReauthentication, maybeBeginClientReauthentication, reauthenticationLatencyMs, serverAuthenticationSessionExpired, getAndClearResponsesReceivedDuringReauthentication, connectedClientSupportsReauthentication, and swapAuthenticatorsAndBeginReauthentication
Closed when KafkaChannel is requested to close.
ready Method
boolean ready()
ready is positive (true) when the TransportLayer is ready and the Authenticator is complete
|
Note
|
ready is used when…FIXME
|
principal Method
KafkaPrincipal principal()
principal simply requests the Authenticator for the principal.
|
Note
|
principal is used when…FIXME
|