mirror of https://github.com/apache/kafka.git
left out a file from last commit
This commit is contained in:
parent
1228eefc4e
commit
6842ed1ffa
|
@ -249,7 +249,7 @@ public class VerifiableProducer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
MessageThroughputThrottler throttler = new MessageThroughputThrottler(producer.throughput, startMs);
|
ThroughputThrottler throttler = new ThroughputThrottler(producer.throughput, startMs);
|
||||||
for (int i = 0; i < producer.maxMessages || infinite; i++) {
|
for (int i = 0; i < producer.maxMessages || infinite; i++) {
|
||||||
long sendStartMs = System.currentTimeMillis();
|
long sendStartMs = System.currentTimeMillis();
|
||||||
producer.send(null, String.format("%d", i));
|
producer.send(null, String.format("%d", i));
|
||||||
|
|
Loading…
Reference in New Issue