yufeiyan1220 commented on a change in pull request #11953:
URL: https://github.com/apache/kafka/pull/11953#discussion_r837133855
##########
File path: core/src/main/scala/kafka/server/AbstractFetcherManager.scala
##########
@@ -32,6 +32,7 @@ abstract class AbstractFetcherManager[T <:
AbstractFetcherThread](val name: Stri
// package private for test
private[server] val fetcherThreadMap = new
mutable.HashMap[BrokerIdAndFetcherId, T]
private val lock = new Object
+ @volatile
private var numFetchersPerBroker = numFetchers
Review comment:
You are right! I forgot to remove it after some testing. I've done in a
new commit.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]