public void createPendingAuthenticationError(Node node, long backoffMs) {
        pendingAuthenticationErrors.put(node, backoffMs);
    }
A mock network client for use testing code
clients/src/test/java/org/apache/kafka/clients/MockClient.java