chia7712 commented on code in PR #19635: URL: https://github.com/apache/kafka/pull/19635#discussion_r2080768388
########## core/src/main/scala/kafka/server/KafkaApis.scala: ########## @@ -411,10 +411,9 @@ class KafkaApis(val requestChannel: RequestChannel, } val topicPartition = new TopicPartition(topicName, partition.index()) - if (topicName.isEmpty) + // To compatible with the old version, only return UNKNOWN_TOPIC_ID if topicId is not default value + if (topicName.isEmpty && !topic.topicId().equals(Uuid.ZERO_UUID)) Review Comment: That makes sense. I left the similar comment before - https://github.com/apache/kafka/pull/19635#discussion_r2073937574 -- 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