leeleeian commented on PR #13418:
URL: https://github.com/apache/kafka/pull/13418#issuecomment-1475442197

   For KafkaProducer, when clients want to compare one producer object with 
another, we wouldn't want to compare their addresses, which is why I am adding 
the equals method to the class. 
   
   Without an equals method, how would one judge if two producer objects are 
equal? 
   
   I agree that I would have to add equals methods to some other classes 
involved if we proceed with this change.


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

Reply via email to