mjsax commented on a change in pull request #9047:
URL: https://github.com/apache/kafka/pull/9047#discussion_r460308959



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/processor/internals/GlobalStateManagerImpl.java
##########
@@ -318,6 +341,72 @@ private void restoreState(final StateRestoreCallback 
stateRestoreCallback,
         }
     }
 
+    private void retryUntilSuccessOrThrowOnTaskTimeout(final Runnable runnable,
+                                                       final String 
errorMessage) {
+        long deadlineMs = NO_DEADLINE;
+
+        do {
+            try {
+                runnable.run();
+                return;
+            } catch (final TimeoutException retryableException) {

Review comment:
       Not sure if I can follow?




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


Reply via email to