lkokhreidze commented on a change in pull request #11837:
URL: https://github.com/apache/kafka/pull/11837#discussion_r825762550



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/assignment/StandbyTaskAssignmentUtils.java
##########
@@ -49,7 +53,11 @@ static int 
pollClientAndMaybeAssignAndUpdateRemainingStandbyTasks(final Map<UUID
             tasksToRemainingStandbys.put(activeTaskId, numRemainingStandbys);
         }
 
-        return numRemainingStandbys;
+        log.warn("Unable to assign {} of {} standby tasks for task [{}]. " +

Review comment:
       Refactored based on previous PR comment
   https://github.com/apache/kafka/pull/10851#discussion_r817629787
   
   Since both standby task assignors have the same logging, moved the logging 
to this utility method.




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