You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2026/05/15 07:35:53 UTC

Re: [PR] MINOR: Prefer MetadataRecordSerde.INSTANCE over new instances [kafka]

chia7712 commented on code in PR #22289:
URL: https://github.com/apache/kafka/pull/22289#discussion_r3246620423


##########
metadata/src/test/java/org/apache/kafka/metadata/MetadataRecordSerdeTest.java:
##########
@@ -35,28 +35,30 @@
 
 class MetadataRecordSerdeTest {
 
+    private static final MetadataRecordSerde SERDE = MetadataRecordSerde.INSTANCE;

Review Comment:
   Could you remove `SERDE` and use `MetadataRecordSerde.INSTANCE` instead? 



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org