Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Monitor Kafka Stats


Copy link to this message
-
Monitor Kafka Stats
Hi

I am trying to get some parameters from kafka like Data produced per
second,
Data Consumed per second etc.

There is a java api in Kafka "kafka.network.SocketServerStats" that i am using
for my purpose :

socketServerStats.getNumProduceRequests());
socketServerStats.getNumFetchRequests();
socketServerStats.getProduceRequestsPerSecond();

But its not giving any values.

Any suggestion will be helpful for me.

--
*Thanks & Regards*
*Hanish Bansal*