mjsax commented on code in PR #14936:
URL: https://github.com/apache/kafka/pull/14936#discussion_r1419743348


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java:
##########
@@ -772,6 +817,26 @@ public Set<StandbyTask> getStandbyTasks() {
         );
     }
 
+    @Override
+    public KafkaFutureImpl<Uuid> restoreConsumerInstanceId(final Duration 
timeout) {
+        if (stateUpdaterThread.restoreConsumerInstanceIdFuture != null) {
+            return stateUpdaterThread.restoreConsumerInstanceIdFuture;

Review Comment:
   I rewrote this and pushed into the state-updated thread directly (and let is 
align with other code). Hope this does the trick.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to