فهرست منبع

ReplicaNotAvailable is returned from FetchRequests.

It is returned, rather than LeaderNotAvailable, when a replica is
capable of handling your request, but none are available. This applies
(only?) to FetchRequests.
Burke Libbey 12 سال پیش
والد
کامیت
290b698c74
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -111,7 +111,7 @@ func (err KError) Error() string {
 	case BrokerNotAvailable:
 		return "kafka server: Broker not available. Not a client facing error, we should never receive this!!!"
 	case ReplicaNotAvailable:
-		return "kafka server: Replica not available. What is the difference between this and LeaderNotAvailable?"
+		return "kafka server: Replica not available. No replicas are available to read from this topic-partition."
 	case MessageSizeTooLarge:
 		return "kafka server: Message was too large, server rejected it to avoid allocation error."
 	case StaleControllerEpochCode: