Package org.apache.kafka.streams.errors
-
Interface Summary Interface Description DeserializationExceptionHandler Interface that specifies how an exception from source node deserialization (e.g., reading from Kafka) should be handled.ProductionExceptionHandler Interface that specifies how an exception when attempting to produce a result to Kafka should be handled.StreamsUncaughtExceptionHandler -
Class Summary Class Description DefaultProductionExceptionHandler ProductionExceptionHandler
that always instructs streams to fail when an exception happens while attempting to produce result records.LogAndContinueExceptionHandler Deserialization handler that logs a deserialization exception and then signals the processing pipeline to continue processing more records.LogAndFailExceptionHandler Deserialization handler that logs a deserialization exception and then signals the processing pipeline to stop processing more records and fail. -
Enum Summary Enum Description DeserializationExceptionHandler.DeserializationHandlerResponse Enumeration that describes the response from the exception handler.ProductionExceptionHandler.ProductionExceptionHandlerResponse StreamsUncaughtExceptionHandler.StreamThreadExceptionResponse Enumeration that describes the response from the exception handler. -
Exception Summary Exception Description BrokerNotFoundException Indicates that none of the specifiedbrokers
could be found.InvalidStateStoreException Indicates that there was a problem when trying to access aStateStore
.InvalidStateStorePartitionException Indicates that the specific state store being queried viaStoreQueryParameters
used a partitioning that is not assigned to this instance.LockException Indicates that the state store directory lock could not be acquired because another thread holds the lock.MissingSourceTopicException ProcessorStateException Indicates a processor state operation (e.g.StateStoreMigratedException Indicates that the state store being queried is closed although the Kafka Streams state isRUNNING
orREBALANCING
.StateStoreNotAvailableException Indicates that the state store being queried is already closed.StreamsException StreamsException
is the top-level exception type generated by Kafka Streams.StreamsNotStartedException Indicates that Kafka Streams is in stateCREATED
and thus state stores cannot be queries yet.StreamsRebalancingException Indicates that Kafka Streams is in stateREBALANCING
and thus cannot be queried by default.TaskAssignmentException Indicates a run time error incurred while trying to assignstream tasks
tothreads
.TaskCorruptedException Indicates a specific task is corrupted and need to be re-initialized.TaskIdFormatException Indicates a run time error incurred while trying parse thetask id
from the read string.TaskMigratedException Indicates that all tasks belongs to the thread have migrated to another thread.TopologyException Indicates a pre run time error occurred while parsing thelogical topology
to construct thephysical processor topology
.UnknownStateStoreException Indicates that the state store being queried is unknown, i.e., the state store does either not exist in your topology or it is not queryable.