Package org.apache.kafka.common.errors
Class InvalidMetadataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.RetriableException
org.apache.kafka.common.errors.InvalidMetadataException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ElectionNotNeededException
,EligibleLeadersNotAvailableException
,FencedLeaderEpochException
,InconsistentTopicIdException
,KafkaStorageException
,LeaderNotAvailableException
,ListenerNotFoundException
,NetworkException
,NotLeaderForPartitionException
,PreferredLeaderNotAvailableException
,ReplicaNotAvailableException
,UnknownTopicIdException
,UnknownTopicOrPartitionException
public abstract class InvalidMetadataException extends RetriableException
An exception that may indicate the client's metadata is out of date
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidMetadataException()
InvalidMetadataException(String message)
InvalidMetadataException(String message, Throwable cause)
InvalidMetadataException(Throwable cause)
-
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidMetadataException
public InvalidMetadataException() -
InvalidMetadataException
-
InvalidMetadataException
-
InvalidMetadataException
-