[
https://issues.apache.org/jira/browse/KAFKA-12321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-12321.
------------------------------------
Resolution: Fixed
> the comparison function for uuid type should be 'equals' rather than '=='
> -------------------------------------------------------------------------
>
> Key: KAFKA-12321
> URL: https://issues.apache.org/jira/browse/KAFKA-12321
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
> Fix For: 2.8.0, 2.7.1, 2.6.2
>
>
> trunk:
> {code:java}
> if (this.taggedUuid != Uuid.fromString("H3KKO4NTRPaCWtEmm3vW7A"))
> {code}
> expected:
> {code:java}
> if (!this.taggedUuid.equals(Uuid.fromString("H3KKO4NTRPaCWtEmm3vW7A")))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)