dajac commented on a change in pull request #11912: URL: https://github.com/apache/kafka/pull/11912#discussion_r829973928
########## File path: clients/src/main/java/org/apache/kafka/common/requests/MetadataResponse.java ########## @@ -151,7 +151,7 @@ public Cluster buildCluster() { if (metadata.error == Errors.NONE) { if (metadata.isInternal) internalTopics.add(metadata.topic); - if (metadata.topicId() != null && metadata.topicId() != Uuid.ZERO_UUID) { + if (metadata.topicId() != null && !Uuid.ZERO_UUID.equals(metadata.topicId())) { Review comment: I would add one to avoid a similar regression in the future. -- 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