public static void sleep(long ms) {
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            // this is okay, we just wake up early
            Thread.currentThread().interrupt();
        }
    }
Sleep for a bit
@param ms The duration of the sleep
clients/src/main/java/org/apache/kafka/common/utils/Utils.java