[ https://issues.apache.org/jira/browse/KAFKA-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022968#comment-17022968 ]
Vito Jeng commented on KAFKA-9471: ---------------------------------- [~yuzhih...@gmail.com] Yes. Currently, *shouldAllowToQueryAfterThreadDied()* would be fail when InvalidStateStoreException thrown. This test method also should be update, IMO. I notice this during KIP-216 implementation, too, but my PR is not yet completed. > Throw exception for DEAD StreamThread.State > ------------------------------------------- > > Key: KAFKA-9471 > URL: https://issues.apache.org/jira/browse/KAFKA-9471 > Project: Kafka > Issue Type: Improvement > Components: streams > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > > In StreamThreadStateStoreProvider we have: > {code} > if (streamThread.state() == StreamThread.State.DEAD) { > return Collections.emptyList(); > {code} > If user cannot retry anymore, we should throw exception which is handled in > the else block. -- This message was sent by Atlassian Jira (v8.3.4#803005)