private static long kbpsToBps(double kbRate) {
        return (long) (kbRate * (1 << 10));
    }
Converts a rate given in KB/s to bytes/s.
s3stream/src/test/java/com/automq/stream/s3/operator/TrafficRegulatorTest.java