You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/07/18 14:46:32 UTC

[GitHub] [kafka] cadonna commented on a diff in pull request #12386: KAFKA-10199: Add PAUSE in state updater

cadonna commented on code in PR #12386:
URL: https://github.com/apache/kafka/pull/12386#discussion_r923463164


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java:
##########
@@ -520,6 +568,8 @@ private Stream<Task> getStreamOfTasks() {
                         restoredActiveTasks.stream(),
                         Stream.concat(
                             exceptionsAndFailedTasks.stream().flatMap(exceptionAndTasks -> exceptionAndTasks.getTasks().stream()),
-                            removedTasks.stream()))));
+                            Stream.concat(

Review Comment:
   Could you please add a unit test `shouldGetTasksFromPausedTasks()`?



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org