You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Vladimir Tretyakov <vl...@sematext.com> on 2014/06/02 14:16:31 UTC

What information does FetchRequestAndResponseMetrics name contain?

Hello everyone,

We are adding Kafka 0.8.x monitoring support to SPM
<http://sematext.com/spm/> here at Sematex and I have one question about
JMX Kafka beans:

In Jconsole for my local setup I see:

kafka.consumer:type="FetchRequestAndResponseMetrics",name="
af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-fcaaea29-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
"


This long name actually contains consumer group id ('af-servers'), host
('wawanawna-Dell'), and a few other things, which I can recognize as a
human….

Maybe someone can clarify for me what this line contains, especially part
'1401353748289-fcaaea29-0-0'. What timestamp represents here? What 'fcaaea'
means? Does it just id of something? What is '-0-0-' here? Does it relates
to partitions somehow?

Thx and best regards from Sematext.

Re: What information does FetchRequestAndResponseMetrics name contain?

Posted by Jun Rao <ju...@gmail.com>.
Think of UUID as some random bytes.

Thanks,

Jun


On Mon, Jun 2, 2014 at 12:01 PM, Vladimir Tretyakov <
vladimir.tretyakov@sematext.com> wrote:

> Hi Jun Rao, thx for quick answer. That means I can see at the same time
> values like :
>
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-
> *fcaaea28*-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
>
> and
>
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-
> *fcaaea29*-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
>
> I see that '*fcaaea29*'  is something like UUID, but UUID of what? Just
> UUID for separating one name from another? Does that mean we can see
> exactly the same name except this UUID part?
>
>
>
> And maybe next combination also possible?
>
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-
> 1401353748289-fcaaea29-0-*0*-host_localhost-my-port_9092-
> FetchRequestRateAndTimeMs
>
> and
>
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-
> 1401353748289-fcaaea29-0-*1*-host_localhost-my-port_9092-
> FetchRequestRateAndTimeMs
>
> ???
>
> Why we need 'brokerId' in name if we already have broker host+port? Does
> that mean we can see different 'brokerId' for the same host+port ?
>
> Thx.
>
>
> On Mon, Jun 2, 2014 at 7:56 PM, Jun Rao <ju...@gmail.com> wrote:
>
> > fcaaea29 is some sort of uuid. 0-0 is clientid-brokerId (to fetch from).
> >
> > Thanks,
> >
> > Jun
> >
> >
> > On Mon, Jun 2, 2014 at 5:16 AM, Vladimir Tretyakov <
> > vladimir.tretyakov@sematext.com> wrote:
> >
> > > Hello everyone,
> > >
> > > We are adding Kafka 0.8.x monitoring support to SPM
> > > <http://sematext.com/spm/> here at Sematex and I have one question
> about
> > > JMX Kafka beans:
> > >
> > > In Jconsole for my local setup I see:
> > >
> > > kafka.consumer:type="FetchRequestAndResponseMetrics",name="
> > >
> > >
> >
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-fcaaea29-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
> > > "
> > >
> > >
> > > This long name actually contains consumer group id ('af-servers'), host
> > > ('wawanawna-Dell'), and a few other things, which I can recognize as a
> > > human….
> > >
> > > Maybe someone can clarify for me what this line contains, especially
> part
> > > '1401353748289-fcaaea29-0-0'. What timestamp represents here? What
> > 'fcaaea'
> > > means? Does it just id of something? What is '-0-0-' here? Does it
> > relates
> > > to partitions somehow?
> > >
> > > Thx and best regards from Sematext.
> > >
> >
>

Re: What information does FetchRequestAndResponseMetrics name contain?

Posted by Vladimir Tretyakov <vl...@sematext.com>.
Hi Jun Rao, thx for quick answer. That means I can see at the same time
values like :

af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-
*fcaaea28*-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs

and

af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-
*fcaaea29*-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs

I see that '*fcaaea29*'  is something like UUID, but UUID of what? Just
UUID for separating one name from another? Does that mean we can see
exactly the same name except this UUID part?



And maybe next combination also possible?

af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-
1401353748289-fcaaea29-0-*0*-host_localhost-my-port_9092-
FetchRequestRateAndTimeMs

and

af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-
1401353748289-fcaaea29-0-*1*-host_localhost-my-port_9092-
FetchRequestRateAndTimeMs

???

Why we need 'brokerId' in name if we already have broker host+port? Does
that mean we can see different 'brokerId' for the same host+port ?

Thx.


On Mon, Jun 2, 2014 at 7:56 PM, Jun Rao <ju...@gmail.com> wrote:

> fcaaea29 is some sort of uuid. 0-0 is clientid-brokerId (to fetch from).
>
> Thanks,
>
> Jun
>
>
> On Mon, Jun 2, 2014 at 5:16 AM, Vladimir Tretyakov <
> vladimir.tretyakov@sematext.com> wrote:
>
> > Hello everyone,
> >
> > We are adding Kafka 0.8.x monitoring support to SPM
> > <http://sematext.com/spm/> here at Sematex and I have one question about
> > JMX Kafka beans:
> >
> > In Jconsole for my local setup I see:
> >
> > kafka.consumer:type="FetchRequestAndResponseMetrics",name="
> >
> >
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-fcaaea29-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
> > "
> >
> >
> > This long name actually contains consumer group id ('af-servers'), host
> > ('wawanawna-Dell'), and a few other things, which I can recognize as a
> > human….
> >
> > Maybe someone can clarify for me what this line contains, especially part
> > '1401353748289-fcaaea29-0-0'. What timestamp represents here? What
> 'fcaaea'
> > means? Does it just id of something? What is '-0-0-' here? Does it
> relates
> > to partitions somehow?
> >
> > Thx and best regards from Sematext.
> >
>

Re: What information does FetchRequestAndResponseMetrics name contain?

Posted by Jun Rao <ju...@gmail.com>.
fcaaea29 is some sort of uuid. 0-0 is clientid-brokerId (to fetch from).

Thanks,

Jun


On Mon, Jun 2, 2014 at 5:16 AM, Vladimir Tretyakov <
vladimir.tretyakov@sematext.com> wrote:

> Hello everyone,
>
> We are adding Kafka 0.8.x monitoring support to SPM
> <http://sematext.com/spm/> here at Sematex and I have one question about
> JMX Kafka beans:
>
> In Jconsole for my local setup I see:
>
> kafka.consumer:type="FetchRequestAndResponseMetrics",name="
>
> af-servers-ConsumerFetcherThread-af-servers-wawanawna-Dell-1401353748289-fcaaea29-0-0-host_localhost-my-port_9092-FetchRequestRateAndTimeMs
> "
>
>
> This long name actually contains consumer group id ('af-servers'), host
> ('wawanawna-Dell'), and a few other things, which I can recognize as a
> human….
>
> Maybe someone can clarify for me what this line contains, especially part
> '1401353748289-fcaaea29-0-0'. What timestamp represents here? What 'fcaaea'
> means? Does it just id of something? What is '-0-0-' here? Does it relates
> to partitions somehow?
>
> Thx and best regards from Sematext.
>