You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Shashank (Jira)" <ji...@apache.org> on 2025/11/26 16:21:00 UTC

[jira] [Resolved] (KAFKA-19924) Ensure deterministic task order by using TreeSet in TaskManager

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

Shashank resolved KAFKA-19924.
------------------------------
    Resolution: Resolved

> Ensure deterministic task order by using TreeSet in TaskManager
> ---------------------------------------------------------------
>
>                 Key: KAFKA-19924
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19924
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Shashank
>            Assignee: Shashank
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Identified here - [https://github.com/apache/kafka/pull/20944#discussion_r2548625110]
>  
> TaskManager's StateUpdater path uses HashSet for Task collections, causing non-deterministic processing order. Replace with TreeSet to ensure deterministic task ordering.



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