chia7712 commented on code in PR #15882:
URL: https://github.com/apache/kafka/pull/15882#discussion_r1602161837
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java:
##########
@@ -1750,6 +1761,7 @@ Map<TaskId, Task> allTasks() {
if (stateUpdater != null) {
final Map<TaskId, Task> ret =
stateUpdater.getTasks().stream().collect(Collectors.toMap(Task::id, x -> x));
ret.putAll(tasks.allTasksPerId());
+
ret.putAll(tasks.pendingTasksToInit().stream().collect(Collectors.toMap(Task::id,
x -> x)));
Review Comment:
@cadonna Could you please take a look at
https://issues.apache.org/jira/browse/KAFKA-16774?
It seems this change could make
StreamThreadTest#shouldCloseAllTaskProducersOnCloseIfEosEnabled failed.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]