public void throttle(String id, long throttleUntilTimeMs) {
        NodeConnectionState state = nodeState.get(id);
        // The throttle deadline should never regress.
        if (state != null && state.throttleUntilTimeMs < throttleUntilTimeMs) {
            state.throttleUntilTimeMs = throttleUntilTimeMs;
        }
    }
Indicate that the connection is throttled until the specified deadline.
@param id the connection to be throttled
@param throttleUntilTimeMs the throttle deadline in milliseconds
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java