Have pushed the message using the producer. It pushed 100000 messages to the topic.
using the command: bin/kafka-producer-perf-test.sh --broker-list localhost:9092 --messages 100000 --topic perfAtlasTopic get the below producer metrics.
start.time, end.time, compression, message.size, batch.size, total.data.sent.in.MB, MB.sec, total.data.sent.in.nMsg, nMsg.sec [2015-02-19 00:33:44,133] WARN Property reconnect.interval is not valid (kafka.utils.VerifiableProperties) 2015-02-19 00:33:44:020, 2015-02-19 00:33:46:822, 0, 100, 200, 9.54, 3.4035, 100000, 35688.7937
using the command: bin/kafka-consumer-perf-test.sh --zookeeper localhost:2181 --messages 100000 --topic perfAtlasTopic --threads 10. Get the below consumer metrics:
start.time, end.time, fetch.size, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec 2015-02-19 00:53:13:480, 2015-02-19 00:53:53:128, 1048576, 289.0332, 8.3420, 100000, 2886.1695
Getting the above metric before the producer/consumer pushes/consumes the message to/from the topic.
Is there any way to measure the performance metrics while pushing/consuming the message to/from the topic?
Thanks