...
./bin/kafka-producer-perf-test.sh --topic quickstart-events --num-records 10000000 --throughput 1000000000 --record-size 1000 --transactional-id thisistest --bootstrap-server 127.0.0.1:9092 --command-property max.in.flight.requests.per.connection=x
| max.in.flight.requests.per.connection | throughput | avg latency | max latency | 50th latency | 95th latency | 99th latency | 99.9th latency |
|---|
| 1 | 198562.408165 records/sec |
(189.36 MB/sec) | 126.01 ms | 464.00 ms | 147 ms | 171 ms | 260 ms | 430 ms |
| 5 | 285087.094107 records |
/sec (271.88 MB) | 2.81 ms | 127.00 ms | 0 ms | 14 ms | 68 ms | 108 ms |
| 10 (temporary change hard code value in producer and broker) | 307238.540002 records |
/sec (293.01 MB) | 2.14 ms | 76.00 ms | 0 ms | 8 ms | 45 ms | 73 ms |
Public Interfaces
Broker Configuration
...