vvcephei commented on a change in pull request #8994: URL: https://github.com/apache/kafka/pull/8994#discussion_r451939499
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java ########## @@ -1140,4 +1166,12 @@ public static void executeAndMaybeSwallow(final boolean clean, throw e; }, e -> log.debug("Ignoring error in unclean {}", name)); } + + boolean hasPreRunningTasks() { + return tasks().values().stream().anyMatch(Task::preRunning); + } + + public void setResetStrategy(final Function<TopicPartition, OffsetResetStrategy> resetStrategy) { Review comment: Sorry about that. I was only thinking "set a field named 'reset strategy'", but now I see that it sounds more like what you said. I'll rename 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org