Package org.apache.kafka.streams.errors
Class StreamsStoppedException
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.StreamsStoppedException
- All Implemented Interfaces:
Serializable
Indicates that Kafka Streams is in a terminating or terminal state, such as
KafkaStreams.State.PENDING_SHUTDOWN
,KafkaStreams.State.PENDING_ERROR
,KafkaStreams.State.NOT_RUNNING
, or KafkaStreams.State.ERROR
. This Streams instance will need to be discarded and replaced before it can
serve queries. The caller may wish to query a different instance.- See Also:
-
Constructor Summary
ConstructorDescriptionStreamsStoppedException
(String message) StreamsStoppedException
(String message, Throwable throwable) -
Method Summary
Methods inherited from class org.apache.kafka.streams.errors.StreamsException
setTaskId, taskId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamsStoppedException
-
StreamsStoppedException
-