You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/03/26 05:05:53 UTC
[jira] [Commented] (KAFKA-2051) Add hashCode() and equals() to
ProducerRecord
[ 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)