soarez commented on code in PR #15522: URL: https://github.com/apache/kafka/pull/15522#discussion_r1546352789
########## core/src/main/scala/kafka/server/ReplicaManager.scala: ########## @@ -624,6 +624,13 @@ class ReplicaManager(val config: KafkaConfig, errorMap } + def topicNameFromId(topicId: Uuid): Option[String] = + allPartitions.values.flatMap { + case HostedPartition.Offline(Some(partition)) if partition.topicId.contains(topicId) => Some(partition.topic) + case Online(partition) if partition.topicId.contains(topicId) => Some(partition.topic) + case _ => None + }.headOption Review Comment: Looks like I forgot to remove this. 🙈 -- 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