[ https://issues.apache.org/jira/browse/KAFKA-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381321#comment-14381321 ]
Ewen Cheslack-Postava commented on KAFKA-2051: ---------------------------------------------- This was already addressed in KAFKA-1805, you can see that the version on trunk has those methods: https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/ProducerRecord.java > Add hashCode() and equals() to ProducerRecord > --------------------------------------------- > > Key: KAFKA-2051 > URL: https://issues.apache.org/jira/browse/KAFKA-2051 > Project: Kafka > Issue Type: Improvement > Components: clients > Affects Versions: 0.8.2.0 > Reporter: Justin Plock > Priority: Trivial > > Would it be possible to add both a {{hashCode()}} and {{equals()}} methods to > the {{ProducerRecord}} object? > https://github.com/apache/kafka/blob/0.8.2/clients/src/main/java/org/apache/kafka/clients/producer/ProducerRecord.java > I can submit a pull request via Github if that would be easier. -- This message was sent by Atlassian JIRA (v6.3.4#6332)