If you connect to the jvm of the consumer, you will see the following mbean.

"kafka.consumer":type="FetchRequestAndResponseMetrics",name="SimpleConsumerShell-AllBrokersFetchRequestRateAndTimeMs"

If you want to monitor the consumption rate on the broker, you can look at
the byte out rate and the fetch-consumer request time mentioned in
http://kafka.apache.org/documentation.html#monitoring

Thanks,

Jun

On Sun, Nov 16, 2014 at 10:19 PM, Madhukar Bharti <bhartimadhu...@gmail.com>
wrote:

> Hi,
>
> Thank you for your reply Otis. So simple consumers can be fetched from
> 8.0.2? Is There no other way to get it from 8.0.1?
>
> @Jun:  The link you have shared doesn't have any beans to get simple
> consumer details.
>
> Kindly help me in this.
>
>
> Thanks and Regards
> Madhukar
>
> On Mon, Nov 17, 2014 at 12:20 AM, Otis Gospodnetic <
> otis.gospodne...@gmail.com> wrote:
>
> > Hi Madhukar,
> >
> > Maybe you want to look at SPM <http://sematext.com/spm/>, which has
> Kafka
> > monitoring.
> > But please note this:
> >
> >
> https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+FAQ#SPMFAQ-WhyamInotseeingallKafkametricsifI'mrunninga0.8.xversionofKafkathatispre-0.8.2
> > ?
> >
> > Otis
> > --
> > Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> > Solr & Elasticsearch Support * http://sematext.com/
> >
> >
> > On Fri, Nov 14, 2014 at 5:52 PM, Jun Rao <jun...@gmail.com> wrote:
> >
> > > So, you want to monitor the mbeans on the broker side? Take a look at
> > > http://kafka.apache.org/documentation.html#monitoring
> > >
> > > Thanks,
> > >
> > > Jun
> > >
> > > On Thu, Nov 13, 2014 at 10:58 PM, Madhukar Bharti <
> > > bhartimadhu...@gmail.com>
> > > wrote:
> > >
> > > > Hi Jun Rao,
> > > >
> > > > Sorry to disturb you. But I my Kafka setup it is not showing. I am
> > > > attaching screen shot taken from all brokers.
> > > >
> > > > In kafka.consumer it is listing only "ReplicaFetcherThread".
> > > >
> > > > As I said earlier I am using "2.10-0.8.1.1" version. Do i need to
> > > > configure any extra parameter for this? I am simply using the same
> > > > configuration as described in wiki page.
> > > >
> > > >
> > > >
> > > > Thanks and Regards,
> > > > Madhukar
> > > >
> > > >
> > > > On Fri, Nov 14, 2014 at 1:17 AM, Jun Rao <jun...@gmail.com> wrote:
> > > >
> > > >> I tried running kafka-simple-consumer-shell. I can see the following
> > > >> mbean.
> > > >>
> > > >>
> > > >>
> > >
> >
> "kafka.consumer":type="FetchRequestAndResponseMetrics",name="SimpleConsumerShell-AllBrokersFetchRequestRateAndTimeMs"
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Jun
> > > >>
> > > >> On Wed, Nov 12, 2014 at 9:57 PM, Madhukar Bharti <
> > > >> bhartimadhu...@gmail.com>
> > > >> wrote:
> > > >>
> > > >> > Hi Jun Rao,
> > > >> >
> > > >> > Thanks for your quick reply.
> > > >> >
> > > >> > I am not able to see this  any bean named as "SimpleConsumer". Is
> > > there
> > > >> any
> > > >> > configuration related to this?
> > > >> >
> > > >> > How can I see this bean named listing in Jconsole window?
> > > >> >
> > > >> >
> > > >> > Thanks and Regards
> > > >> > Madhukar
> > > >> >
> > > >> > On Thu, Nov 13, 2014 at 6:06 AM, Jun Rao <jun...@gmail.com>
> wrote:
> > > >> >
> > > >> > > Those are for 0.7. In 0.8, you should see sth
> > > >> > > like FetchRequestRateAndTimeMs in SimpleConsumer.
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > > Jun
> > > >> > >
> > > >> > > On Wed, Nov 12, 2014 at 5:14 AM, Madhukar Bharti <
> > > >> > bhartimadhu...@gmail.com
> > > >> > > >
> > > >> > > wrote:
> > > >> > >
> > > >> > > > Hi,
> > > >> > > >
> > > >> > > > I want to get the simple consumer details using MBean as
> > described
> > > >> here
> > > >> > > > <
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://cwiki.apache.org/confluence/display/KAFKA/Operations#Operations-Monitoring
> > > >> > > > >.
> > > >> > > > But these bean names are not showing in JConsole as well as
> > while
> > > >> > trying
> > > >> > > to
> > > >> > > > read from JMX.
> > > >> > > >
> > > >> > > > Please help me to get simple consumer details.
> > > >> > > >
> > > >> > > > I am using Kafka 0.8.1.1 version.
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks and Regards,
> > > >> > > > Madhukar Bharti
> > > >> > > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Thanks and Regards,
> > > >> > Madhukar Bharti
> > > >> > Mob: 7845755539
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks and Regards,
> > > > Madhukar Bharti
> > > > Mob: 7845755539
> > > >
> > >
> >
>
>
>
> --
> Thanks and Regards,
> Madhukar Bharti
> Mob: 7845755539
>

Reply via email to