You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/07/16 21:01:55 UTC

[GitHub] [kafka] ijuma commented on pull request #8979: KAFKA-10223; Use NOT_LEADER_OR_FOLLOWER instead of non-retriable REPLICA_NOT_AVAILABLE for consumers

ijuma commented on pull request #8979:
URL: https://github.com/apache/kafka/pull/8979#issuecomment-659670683


   @rajinisivaram With regards to MetadataResponse, it's currently documented as:
   
   ```
   /**
    * Possible topic-level error codes:
    *  UnknownTopic (3)
    *  LeaderNotAvailable (5)
    *  InvalidTopic (17)
    *  TopicAuthorizationFailed (29)
   
    * Possible partition-level error codes:
    *  LeaderNotAvailable (5)
    *  ReplicaNotAvailable (9)
    */
   ```
   
   I don't think we should change it, but it does raise the question of whether we should make `ReplicaNotAvailable` retriable.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org