Re: Fetching details from Kafka Server

2015-07-13 Thread pushkar priyadarshi
2)You need to implement MetricReporter and provider that implementation
class name against producer side configuration metric.reporters

On Mon, Jul 13, 2015 at 9:08 PM, Swati Suman swatisuman1...@gmail.com
wrote:

 Hi Team,
 We are using Kafka 0.8.2

 I have two questions:

 1)Is there any Java Api in Kafka that gives me the list of all the consumer
 groups along with the topic/partition from which they are consuming
 Also, is there any way that I can fetch the zookeeper list from the kafka
 server side .
 Note: I am able to fetch the above information from the Zookeeper. But I
 want to fetch it from Kafka Server.

 2). I have implemented a Custom Metrics Reporter which is implementing
 KafkaMetricsReporter and KafkaMetricsMBeanReporter. So it is extracting all
 the Server Metrics as seen in page
 http://docs.confluent.io/1.0/kafka/monitoring.html and not the Producer
 and
 Consumer Metrics. Is there any way I can fetch them from the kafka server
 side or do the Producer/Consumer need to implement something to be able to
 fetch/emit them.

 I will be very thankful if you could share your thoughts on this.

 Thanks In Advance!!

 Best Regards,
 Swati Suman



Fetching details from Kafka Server

2015-07-13 Thread Swati Suman
Hi Team,
We are using Kafka 0.8.2

I have two questions:

1)Is there any Java Api in Kafka that gives me the list of all the consumer
groups along with the topic/partition from which they are consuming
Also, is there any way that I can fetch the zookeeper list from the kafka
server side .
Note: I am able to fetch the above information from the Zookeeper. But I
want to fetch it from Kafka Server.

2). I have implemented a Custom Metrics Reporter which is implementing
KafkaMetricsReporter and KafkaMetricsMBeanReporter. So it is extracting all
the Server Metrics as seen in page
http://docs.confluent.io/1.0/kafka/monitoring.html and not the Producer and
Consumer Metrics. Is there any way I can fetch them from the kafka server
side or do the Producer/Consumer need to implement something to be able to
fetch/emit them.

I will be very thankful if you could share your thoughts on this.

Thanks In Advance!!

Best Regards,
Swati Suman