[ 
https://issues.apache.org/jira/browse/KAFKA-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759976#comment-16759976
 ] 

John Roesler commented on KAFKA-7885:
-------------------------------------

Hi [~MonCalamari],

Thanks for the report!

I've also commented on the PR, but could you please elaborate on how the 
current code violates the contract?

Thanks,

-John

> Streams: TopologyDescription violates equals-hashCode contract.
> ---------------------------------------------------------------
>
>                 Key: KAFKA-7885
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7885
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Piotr Fras
>            Assignee: Piotr Fras
>            Priority: Minor
>
> As per JavaSE documentation:
> > If two objects are *equal* according to the *equals*(Object) method, then 
> >calling the *hashCode* method on each of the two objects must produce the 
> >same integer result.
>  
> This is not the case for TopologyDescription.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to