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
Indicates that the state store being queried is closed although the Kafka Streams state is
RUNNING or
REBALANCING.
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:
-
Constructor Summary
ConstructorsConstructorDescriptionStateStoreMigratedException(String message) StateStoreMigratedException(String message, Throwable throwable) -
Method Summary
Methods inherited from class org.apache.kafka.streams.errors.StreamsException
setTaskId, taskIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StateStoreMigratedException
-
StateStoreMigratedException
-