bbejeck commented on code in PR #22797:
URL: https://github.com/apache/kafka/pull/22797#discussion_r3572537653


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/StagedMergeIterator.java:
##########
@@ -77,7 +78,7 @@ private void advanceBase() {
     @Override
     public boolean hasNext() {
         if (closed) {
-            throw new IllegalStateException("Iterator has already been 
closed.");
+            throw new InvalidStateStoreException("Store iterator for this 
transaction buffer has already been closed.");

Review Comment:
   nit: let's leave the message at "Iterator has already been closed"



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