KafkaChannel
is created when ChannelBuilders are requested to build one (i.e. PlaintextChannelBuilder
, SaslChannelBuilder
, and SslChannelBuilder).
KafkaChannel
takes the following to be created:
-
(
Supplier
of) Authenticator
KafkaChannel
initializes the internal properties.
Authenticator 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.
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
|