CalvinConfluent commented on code in PR #13323: URL: https://github.com/apache/kafka/pull/13323#discussion_r1132937282
########## core/src/main/scala/kafka/raft/KafkaNetworkChannel.scala: ########## @@ -105,14 +108,18 @@ class KafkaNetworkChannel( private val correlationIdCounter = new AtomicInteger(0) private val endpoints = mutable.HashMap.empty[Int, Node] - private val requestThread = new RaftSendThread( + private var requestThread = new RaftSendThread( name = threadNamePrefix + "-outbound-request-thread", networkClient = client, requestTimeoutMs = requestTimeoutMs, time = time, isInterruptible = false ) + def setRequestThread(raftSendThread: RaftSendThread): Unit = { + requestThread = raftSendThread + } Review Comment: Yes, you are right. Updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org