@Override
    public boolean isReady(Node node, long now) {
        // if we need to update our metadata now declare all requests unready to make metadata requests first
        // priority
        return !metadataUpdater.isUpdateDue(now) && canSendRequest(node.idString(), now);
    }
Check if the node with the given id is ready to send more requests.

@param node The node
@param now The current time in ms
@return true if the node is ready
clients/src/main/java/org/apache/kafka/clients/NetworkClient.java