@Override
        public Set<ReplicaView> replicas() {
            return replicas;
        }
View of a partition used by {@link ReplicaSelector} to determine a preferred replica.
clients/src/main/java/org/apache/kafka/common/replica/PartitionView.java