public void adjustRate(long timeNanos, double rate) {
        rateMap.put(timeNanos, rate);
        adjustRate();
    }
Adjust the rate at the given time.
tools/src/main/java/org/apache/kafka/tools/automq/perf/ProducerService.java