public void ready(String id) {
        NodeConnectionState nodeState = nodeState(id);
        nodeState.state = ConnectionState.READY;
        nodeState.authenticationException = null;
        resetReconnectBackoff(nodeState);
        resetConnectionSetupTimeout(nodeState);
        connectingNodes.remove(id);
    }
Enter the ready state for the given node.
@param id the connection identifier
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java