@Override
    public AuthenticationException authenticationException(Node node) {
        return connectionStates.authenticationException(node.idString());
    }
Check if authentication to this node has failed, based on the connection state. Authentication failures are
propagated without any retries.

@param node the node to check
@return an AuthenticationException iff authentication has failed, null otherwise
clients/src/main/java/org/apache/kafka/clients/NetworkClient.java