[ https://issues.apache.org/jira/browse/KAFKA-14372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Kim updated KAFKA-14372: ----------------------------- Description: The default replica selector chooses a replica solely on whether the broker.rack matches the client.rack in the fetch request (and whether the offset exists in the follower). Even if the broker matching the rack is unavailable, the consumer will go to that broker. The selector should choose a broker from the isr. (was: The default replica selector chooses a replica solely on whether the broker.rack matches the client.rack in the fetch request. Even if the broker matching the rack is unavailable, the consumer will go to that broker. The selector should choose a broker from the isr.) > RackAwareReplicaSelector should choose a replica from the isr > ------------------------------------------------------------- > > Key: KAFKA-14372 > URL: https://issues.apache.org/jira/browse/KAFKA-14372 > Project: Kafka > Issue Type: Bug > Reporter: Jeff Kim > Assignee: Jeff Kim > Priority: Major > > The default replica selector chooses a replica solely on whether the > broker.rack matches the client.rack in the fetch request (and whether the > offset exists in the follower). Even if the broker matching the rack is > unavailable, the consumer will go to that broker. The selector should choose > a broker from the isr. -- This message was sent by Atlassian Jira (v8.20.10#820010)