Package org.apache.kafka.streams.errors
Class StateStoreMigratedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.streams.errors.StreamsException
-
- org.apache.kafka.streams.errors.InvalidStateStoreException
-
- org.apache.kafka.streams.errors.StateStoreMigratedException
-
- All Implemented Interfaces:
Serializable
public class StateStoreMigratedException extends InvalidStateStoreException
Indicates that the state store being queried is closed although the Kafka Streams state isRUNNINGorREBALANCING. This could happen because the store moved to some other instance during a rebalance so rediscovery of the state store is required before retrying.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateStoreMigratedException(String message)StateStoreMigratedException(String message, Throwable throwable)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-