You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by allen chan <al...@gmail.com> on 2015/12/04 04:20:22 UTC

BrokerState JMX Metric

Hi all

Does anyone have info about this JMX metric
kafka.server:type=KafkaServer,name=BrokerState or what does the number
values means?

-- 
Allen Michael Chan

Re: BrokerState JMX Metric

Posted by allen chan <al...@gmail.com>.
Thanks Dong, this is perfect

On Sun, Dec 6, 2015 at 4:05 PM, Dong Lin <li...@gmail.com> wrote:

> Hi Allen,
>
> You can find the mapping from integer to status semantics in
>
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/BrokerStates.scala
> .
>
> Dong
>
> On Thu, Dec 3, 2015 at 7:20 PM, allen chan <al...@gmail.com>
> wrote:
>
> > Hi all
> >
> > Does anyone have info about this JMX metric
> > kafka.server:type=KafkaServer,name=BrokerState or what does the number
> > values means?
> >
> > --
> > Allen Michael Chan
> >
>



-- 
Allen Michael Chan

Re: BrokerState JMX Metric

Posted by Dong Lin <li...@gmail.com>.
Hi Allen,

You can find the mapping from integer to status semantics in
https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/BrokerStates.scala
.

Dong

On Thu, Dec 3, 2015 at 7:20 PM, allen chan <al...@gmail.com>
wrote:

> Hi all
>
> Does anyone have info about this JMX metric
> kafka.server:type=KafkaServer,name=BrokerState or what does the number
> values means?
>
> --
> Allen Michael Chan
>