Class ReplicaNotAvailableException

All Implemented Interfaces:
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
  • Constructor Details

    • ReplicaNotAvailableException

      public ReplicaNotAvailableException​(String message)
    • ReplicaNotAvailableException

      public ReplicaNotAvailableException​(String message, Throwable cause)
    • ReplicaNotAvailableException

      public ReplicaNotAvailableException​(Throwable cause)