apourchet commented on code in PR #16129:
URL: https://github.com/apache/kafka/pull/16129#discussion_r1620937108


##########
streams/src/main/java/org/apache/kafka/streams/processor/assignment/assignors/StickyTaskAssignor.java:
##########
@@ -278,7 +278,7 @@ public void processOptimizedAssignments(final 
Map<ProcessId, KafkaStreamsAssignm
 
             for (final Map.Entry<ProcessId, KafkaStreamsAssignment> entry : 
optimizedAssignments.entrySet()) {
                 final ProcessId processId = entry.getKey();
-                final Set<AssignedTask> assignedTasks = 
optimizedAssignments.get(processId).assignment();
+                final Set<AssignedTask> assignedTasks = new 
HashSet<>(optimizedAssignments.get(processId).tasks().values());

Review Comment:
   Created a ticket for it.



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