Class ReplicaNotAvailableException
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.RefreshRetriableException
org.apache.kafka.common.errors.InvalidMetadataException
org.apache.kafka.common.errors.ReplicaNotAvailableException
- All Implemented Interfaces:
Serializable
The replica is not available for the requested topic partition. This may be a transient exception during reassignments. From version 2.6 onwards, Fetch requests and other requests intended only for the leader or follower of the topic partition return
NotLeaderOrFollowerException if the broker is a not a replica of the partition.- See Also:
Constructor Summary
ConstructorsConstructorDescriptionReplicaNotAvailableException(String message) ReplicaNotAvailableException(String message, Throwable cause) Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
ReplicaNotAvailableException
ReplicaNotAvailableException
ReplicaNotAvailableException