Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.10.2.0
-
None
-
None
Description
When starting and stopping streams quickly, the following exception is thrown:
java.lang.IllegalStateException: Incorrect state transition from PARTITIONS_REVOKED to NOT_RUNNING
at org.apache.kafka.streams.processor.internals.StreamThread.setState(StreamThread.java:164)
at org.apache.kafka.streams.processor.internals.StreamThread.shutdown(StreamThread.java:414)
at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:366)
A temporary fix is to convert the exception into a warning, since clearly not all state transitions are thought through yet.