clolov commented on code in PR #21943: URL: https://github.com/apache/kafka/pull/21943#discussion_r3957943865
########## core/src/main/scala/kafka/server/KafkaConfig.scala: ########## @@ -125,7 +121,7 @@ class KafkaConfig private(doLog: Boolean, val props: util.Map[_, _], enforceProv // Cache the current config to avoid acquiring read lock to access from dynamicConfig @volatile private var currentConfig = this - val processRoles: Set[ProcessRole] = parseProcessRoles() + val processRoles: Set[ProcessRole] = parseProcessRoles().asScala.toSet Review Comment: I hopefully addressed it the way you were thinking about it! -- 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]
