sebastienviale commented on code in PR #22612:
URL: https://github.com/apache/kafka/pull/22612#discussion_r3450491840


##########
streams/test-utils/src/main/java/org/apache/kafka/streams/test/TestRecord.java:
##########
@@ -228,14 +303,11 @@ public boolean equals(final Object o) {
             return false;
         }
         final TestRecord<?, ?> that = (TestRecord<?, ?>) o;

Review Comment:
   done with adding     `@SuppressWarnings("unchecked")`
   



##########
streams/test-utils/src/main/java/org/apache/kafka/streams/test/TestRecord.java:
##########
@@ -228,14 +303,11 @@ public boolean equals(final Object o) {
             return false;
         }
         final TestRecord<?, ?> that = (TestRecord<?, ?>) o;
-        return Objects.equals(headers, that.headers) &&
-            Objects.equals(key, that.key) &&
-            Objects.equals(value, that.value) &&
-            Objects.equals(recordTime, that.recordTime);
+        return  equalsFields(that) && partition == that.partition;

Review Comment:
   done



-- 
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]

Reply via email to