showuon commented on a change in pull request #11123:
URL: https://github.com/apache/kafka/pull/11123#discussion_r675962838



##########
File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java
##########
@@ -1428,12 +1447,12 @@ public synchronized boolean close(final Duration 
timeout) throws IllegalArgument
      * <p>
      * Calling this method triggers a restore of local {@link StateStore}s on 
the next {@link #start() application start}.
      *
-     * @throws IllegalStateException if this {@code KafkaStreams} instance is 
currently {@link State#RUNNING running}
+     * @throws IllegalStateException if this {@code KafkaStreams} instance has 
been started and hasn't fully shut down

Review comment:
       Good catch!




-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to