Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 2.27 KB

kafka-InterBrokerSendThread.adoc

File metadata and controls

75 lines (49 loc) · 2.27 KB

InterBrokerSendThread

Note
TransactionMarkerChannelManager is the only available implementation of the InterBrokerSendThread Contract in Apache Kafka.

doWork Method

doWork(): Unit
Note
doWork is a part of ShutdownableThread Contract.

doWork…​FIXME

sendRequests Internal Method

sendRequests(now: Long): Long

sendRequests…​FIXME

Note
sendRequests is used exclusively when InterBrokerSendThread is requested to doWork.

completeWithDisconnect Method

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 Internal Method

checkDisconnects(now: Long): Unit

checkDisconnects…​FIXME

Note
checkDisconnects is used exclusively when InterBrokerSendThread is requested to doWork.

failExpiredRequests Internal Method

failExpiredRequests(now: Long): Unit

failExpiredRequests…​FIXME

Note
failExpiredRequests is used exclusively when InterBrokerSendThread is requested to doWork.

Creating InterBrokerSendThread Instance

InterBrokerSendThread takes the following to be created:

InterBrokerSendThread initializes the internal registries and counters.