[jira] [Updated] (KAFKA-18402) Optimise of comparison on org.apache.kafka.common.Uuid

2026-08-13 Thread Omnia Ibrahim (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-18402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Omnia Ibrahim updated KAFKA-18402:
--
Fix Version/s: 4.5.0
   (was: 4.4.0)

> Optimise of comparison on org.apache.kafka.common.Uuid 
> ---
>
> Key: KAFKA-18402
> URL: https://issues.apache.org/jira/browse/KAFKA-18402
> Project: Kafka
>  Issue Type: Improvement
>  Components: clients
>Reporter: Said BOUDJELDA
>Assignee: Said BOUDJELDA
>Priority: Minor
>  Labels: common
> Fix For: 4.5.0
>
>
> The the reference implementation for org.apache.kafka.common.Uuid compareTo 
> public method as  of java.util.UUID  
> {code:java}
> @Override
> public int compareTo(UUID val) {
> // The ordering is intentionally set up so that the UUIDs
> // can simply be numerically compared as two numbers
> int mostSigBits = Long.compare(this.mostSigBits, val.mostSigBits);
> return mostSigBits != 0 ? mostSigBits : 
> Long.compare(this.leastSigBits, val.leastSigBits);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (KAFKA-18402) Optimise of comparison on org.apache.kafka.common.Uuid

2026-04-09 Thread Mickael Maison (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-18402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mickael Maison updated KAFKA-18402:
---
Fix Version/s: 4.4.0
   (was: 4.3.0)

> Optimise of comparison on org.apache.kafka.common.Uuid 
> ---
>
> Key: KAFKA-18402
> URL: https://issues.apache.org/jira/browse/KAFKA-18402
> Project: Kafka
>  Issue Type: Improvement
>  Components: clients
>Reporter: Said BOUDJELDA
>Assignee: Said BOUDJELDA
>Priority: Minor
>  Labels: common
> Fix For: 4.4.0
>
>
> The the reference implementation for org.apache.kafka.common.Uuid compareTo 
> public method as  of java.util.UUID  
> {code:java}
> @Override
> public int compareTo(UUID val) {
> // The ordering is intentionally set up so that the UUIDs
> // can simply be numerically compared as two numbers
> int mostSigBits = Long.compare(this.mostSigBits, val.mostSigBits);
> return mostSigBits != 0 ? mostSigBits : 
> Long.compare(this.leastSigBits, val.leastSigBits);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (KAFKA-18402) Optimise of comparison on org.apache.kafka.common.Uuid

2025-12-18 Thread Christo Lolov (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-18402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christo Lolov updated KAFKA-18402:
--
Fix Version/s: 4.3.0
   (was: 4.2.0)

> Optimise of comparison on org.apache.kafka.common.Uuid 
> ---
>
> Key: KAFKA-18402
> URL: https://issues.apache.org/jira/browse/KAFKA-18402
> Project: Kafka
>  Issue Type: Improvement
>  Components: clients
>Reporter: Said BOUDJELDA
>Assignee: Said BOUDJELDA
>Priority: Minor
>  Labels: common
> Fix For: 4.3.0
>
>
> The the reference implementation for org.apache.kafka.common.Uuid compareTo 
> public method as  of java.util.UUID  
> {code:java}
> @Override
> public int compareTo(UUID val) {
> // The ordering is intentionally set up so that the UUIDs
> // can simply be numerically compared as two numbers
> int mostSigBits = Long.compare(this.mostSigBits, val.mostSigBits);
> return mostSigBits != 0 ? mostSigBits : 
> Long.compare(this.leastSigBits, val.leastSigBits);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (KAFKA-18402) Optimise of comparison on org.apache.kafka.common.Uuid

2025-06-25 Thread Mickael Maison (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-18402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mickael Maison updated KAFKA-18402:
---
Fix Version/s: 4.2.0
   (was: 4.1.0)

> Optimise of comparison on org.apache.kafka.common.Uuid 
> ---
>
> Key: KAFKA-18402
> URL: https://issues.apache.org/jira/browse/KAFKA-18402
> Project: Kafka
>  Issue Type: Improvement
>  Components: clients
>Reporter: Said BOUDJELDA
>Assignee: Said BOUDJELDA
>Priority: Minor
>  Labels: common
> Fix For: 4.2.0
>
>
> The the reference implementation for org.apache.kafka.common.Uuid compareTo 
> public method as  of java.util.UUID  
> {code:java}
> @Override
> public int compareTo(UUID val) {
> // The ordering is intentionally set up so that the UUIDs
> // can simply be numerically compared as two numbers
> int mostSigBits = Long.compare(this.mostSigBits, val.mostSigBits);
> return mostSigBits != 0 ? mostSigBits : 
> Long.compare(this.leastSigBits, val.leastSigBits);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (KAFKA-18402) Optimise of comparison on org.apache.kafka.common.Uuid

2025-01-05 Thread Said BOUDJELDA (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-18402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Said BOUDJELDA updated KAFKA-18402:
---
Summary: Optimise of comparison on org.apache.kafka.common.Uuid   (was: Use 
openJDK's implementation of comparison for org.apache.kafka.common.Uuid)

> Optimise of comparison on org.apache.kafka.common.Uuid 
> ---
>
> Key: KAFKA-18402
> URL: https://issues.apache.org/jira/browse/KAFKA-18402
> Project: Kafka
>  Issue Type: Improvement
>  Components: clients
>Reporter: Said BOUDJELDA
>Assignee: Said BOUDJELDA
>Priority: Minor
>  Labels: common
> Fix For: 4.1.0
>
>
> The the reference implementation for org.apache.kafka.common.Uuid compareTo 
> public method as  of java.util.UUID  
> {code:java}
> @Override
> public int compareTo(UUID val) {
> // The ordering is intentionally set up so that the UUIDs
> // can simply be numerically compared as two numbers
> int mostSigBits = Long.compare(this.mostSigBits, val.mostSigBits);
> return mostSigBits != 0 ? mostSigBits : 
> Long.compare(this.leastSigBits, val.leastSigBits);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)