Package org.apache.kafka.streams.errors
Class InvalidStateStoreException
- 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
-
- All Implemented Interfaces:
Serializable
public class InvalidStateStoreException extends StreamsException
Indicates that there was a problem when trying to access aStateStore
, i.e, the Store is no longer valid because it is closed or doesn't exist any more due to a rebalance.These exceptions may be transient, i.e., during a rebalance it won't be possible to query the stores as they are being (re)-initialized. Once the rebalance has completed the stores will be available again. Hence, it is valid to backoff and retry when handling this exception.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidStateStoreException(String message)
InvalidStateStoreException(String message, Throwable throwable)
InvalidStateStoreException(Throwable throwable)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-