InterBrokerSendThread
is the extension of the ShutdownableThread contract for inter-broker send threads with a non-blocking NetworkClient that doWork.
Note
|
TransactionMarkerChannelManager is the only available implementation of the InterBrokerSendThread Contract in Apache Kafka.
|
sendRequests(now: Long): Long
sendRequests
…FIXME
Note
|
sendRequests is used exclusively when InterBrokerSendThread is requested to doWork.
|
completeWithDisconnect(
request: ClientRequest,
now: Long,
authenticationException: AuthenticationException): Unit
completeWithDisconnect
…FIXME
Note
|
completeWithDisconnect is used when InterBrokerSendThread is requested to checkDisconnects and failExpiredRequests (when InterBrokerSendThread is requested to doWork).
|
checkDisconnects(now: Long): Unit
checkDisconnects
…FIXME
Note
|
checkDisconnects is used exclusively when InterBrokerSendThread is requested to doWork.
|
failExpiredRequests(now: Long): Unit
failExpiredRequests
…FIXME
Note
|
failExpiredRequests is used exclusively when InterBrokerSendThread is requested to doWork.
|
InterBrokerSendThread
takes the following to be created:
InterBrokerSendThread
initializes the internal registries and counters.