8274379 records sent, 1654875.8 records/sec (15.78 MB/sec), 0.7 ms avg latency, 14.0 max latency.
8410914 records sent, 1682182.8 records/sec (16.04 MB/sec), 0.7 ms avg latency, 11.0 max latency.
8385566 records sent, 1677113.2 records/sec (15.99 MB/sec), 0.8 ms avg latency, 9.0 max latency.
8293790 records sent, 1658758.0 records/sec (15.82 MB/sec), 0.7 ms avg latency, 11.0 max latency.
7911355 records sent, 1582271.0 records/sec (15.09 MB/sec), 0.8 ms avg latency, 9.0 max latency.
8268134 records sent, 1653626.8 records/sec (15.77 MB/sec), 0.7 ms avg latency, 13.0 max latency.
8198960 records sent, 1639792.0 records/sec (15.64 MB/sec), 0.8 ms avg latency, 15.0 max latency.
8349350 records sent, 1669870.0 records/sec (15.93 MB/sec), 0.7 ms avg latency, 12.0 max latency.
8140649 records sent, 1628129.8 records/sec (15.53 MB/sec), 0.8 ms avg latency, 12.0 max latency.
8592471 records sent, 1718494.2 records/sec (16.39 MB/sec), 0.7 ms avg latency, 9.0 max latency.
8183905 records sent, 1636781.0 records/sec (15.61 MB/sec), 0.8 ms avg latency, 7.0 max latency.
[root@hadoop.22.51fbops.com bin]# ./kafka-consumer-perf-test.sh --messages 100000 --threads 3 --zookeeper hadoop.22.51fbops.com:2181,hadoop.23.51fbops.com:2181,hadoop.24.51fbops.com:2181 --num-fetch-threads 3 --topic test-rep-one
start.time, end.time, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec
2017-12-29 10:52:59:047, 2017-12-29 10:53:10:508, 286.1023, 24.9631, 30000000, 2617572.6376
目前业务 需求为9000条/秒。