vvcephei commented on code in PR #12535: URL: https://github.com/apache/kafka/pull/12535#discussion_r949454836
########## streams/src/main/java/org/apache/kafka/streams/kstream/internals/foreignkeyjoin/CombinedKey.java: ########## @@ -38,8 +38,22 @@ public KP getPrimaryKey() { return primaryKey; } - public boolean equals(final KF foreignKey, final KP primaryKey) { - return this.foreignKey.equals(foreignKey) && this.primaryKey.equals(primaryKey); + @Override + public int hashCode() { + return Objects.hash(foreignKey, primaryKey); + } Review Comment: Sounds good to me. -- 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