@Override
        public int hashCode() {
            return Objects.hash(endpoint, logEndOffset, timeSinceLastCaughtUpMs);
        }
Comparator for ReplicaView that returns in the order of "most caught up". This is used for deterministic
selection of a replica when there is a tie from a selector.
clients/src/main/java/org/apache/kafka/common/replica/ReplicaView.java