KafkaChannel is created when ChannelBuilders are requested to build one (i.e. PlaintextChannelBuilder, SaslChannelBuilder, and SslChannelBuilder).
KafkaChannel takes the following to be created:
-
(
Supplierof) Authenticator
KafkaChannel initializes the internal properties.
Authenticator authenticatorauthenticator 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.
boolean ready()ready is positive (true) when the TransportLayer is ready and the Authenticator is complete
|
Note
|
ready is used when…FIXME
|
KafkaPrincipal principal()principal simply requests the Authenticator for the principal.
|
Note
|
principal is used when…FIXME
|
boolean maybeBeginClientReauthentication(
Supplier<Long> nowNanosSupplier)maybeBeginClientReauthentication…FIXME
|
Note
|
maybeBeginClientReauthentication is used when…FIXME
|