cmccabe commented on code in PR #13001:
URL: https://github.com/apache/kafka/pull/13001#discussion_r1050263765
##########
core/src/main/scala/kafka/server/KafkaServer.scala:
##########
@@ -703,8 +703,8 @@ class KafkaServer(
case None =>
info(s"Broker registration for controller $controllerId is
not available in the metadata cache")
}
- case None =>
- info("No controller present in the metadata cache")
+ case _ =>
Review Comment:
this one confuses me. Isn't `case None` clearer than `case _` ?
--
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]