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


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java:
##########
@@ -368,7 +368,8 @@ public void registerStore(final StateStore store,
     @Override
     public StateStore store(final String name) {
         if (stores.containsKey(name)) {
-            return stores.get(name).stateStore;
+            final StateStore stateStore = stores.get(name).stateStore;
+            return stateStore;

Review Comment:
   Same question -- not sure why we introduce `stateStore` ?



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