guozhangwang commented on code in PR #12583:
URL: https://github.com/apache/kafka/pull/12583#discussion_r964339811


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java:
##########
@@ -685,6 +691,7 @@ private void recycleTask(final Task task,
                              final Map<TaskId, RuntimeException> 
taskExceptions) {
         Task newTask = null;
         try {
+            task.suspend();

Review Comment:
   Ah right! Thanks.
   
   In that case could we change the func name to `recycleTaskFromStateUpdater` 
to be clearer?



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