Class ReplicaNotAvailableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ReplicaNotAvailableException
    extends InvalidMetadataException
    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:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReplicaNotAvailableException

        public ReplicaNotAvailableException​(java.lang.String message)
      • ReplicaNotAvailableException

        public ReplicaNotAvailableException​(java.lang.String message,
                                            java.lang.Throwable cause)
      • ReplicaNotAvailableException

        public ReplicaNotAvailableException​(java.lang.Throwable cause)