You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Jinder Aujla <ji...@gmail.com> on 2014/09/25 02:37:27 UTC

JMX on Kafka 0.8.1

Hi

I'm trying to get some JMX stats from a running Kafka instance, I can
connect using jconsole and I can see various topic specific information, I
can see the "..LogEndOffset" value changing as I add data, but for some
reason the value for

"kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesInPerSec"
"kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesOutPerSec"
...

Always show zero. This strikes me as strange, I didn't think there would be
enable/disable feature for this, anyone have any ideas why this might be?

Thanks!!
Jinder

Re: JMX on Kafka 0.8.1

Posted by Jinder Aujla <ji...@gmail.com>.
0.8.1.1

I attached some examples

thanks

On Wed, Sep 24, 2014 at 5:43 PM, Neha Narkhede <ne...@gmail.com>
wrote:

> That is odd. Which version of Kafka are you using?
>
> On Wed, Sep 24, 2014 at 5:37 PM, Jinder Aujla <ji...@gmail.com>
> wrote:
>
> > Hi
> >
> > I'm trying to get some JMX stats from a running Kafka instance, I can
> > connect using jconsole and I can see various topic specific information,
> I
> > can see the "..LogEndOffset" value changing as I add data, but for some
> > reason the value for
> >
> > "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesInPerSec"
> > "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesOutPerSec"
> > ...
> >
> > Always show zero. This strikes me as strange, I didn't think there would
> be
> > enable/disable feature for this, anyone have any ideas why this might be?
> >
> > Thanks!!
> > Jinder
> >
>

Re: JMX on Kafka 0.8.1

Posted by Jinder Aujla <ji...@gmail.com>.
0.8.1.1

On Wed, Sep 24, 2014 at 5:43 PM, Neha Narkhede <ne...@gmail.com>
wrote:

> That is odd. Which version of Kafka are you using?
>
> On Wed, Sep 24, 2014 at 5:37 PM, Jinder Aujla <ji...@gmail.com>
> wrote:
>
> > Hi
> >
> > I'm trying to get some JMX stats from a running Kafka instance, I can
> > connect using jconsole and I can see various topic specific information,
> I
> > can see the "..LogEndOffset" value changing as I add data, but for some
> > reason the value for
> >
> > "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesInPerSec"
> > "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesOutPerSec"
> > ...
> >
> > Always show zero. This strikes me as strange, I didn't think there would
> be
> > enable/disable feature for this, anyone have any ideas why this might be?
> >
> > Thanks!!
> > Jinder
> >
>

Re: JMX on Kafka 0.8.1

Posted by Neha Narkhede <ne...@gmail.com>.
That is odd. Which version of Kafka are you using?

On Wed, Sep 24, 2014 at 5:37 PM, Jinder Aujla <ji...@gmail.com> wrote:

> Hi
>
> I'm trying to get some JMX stats from a running Kafka instance, I can
> connect using jconsole and I can see various topic specific information, I
> can see the "..LogEndOffset" value changing as I add data, but for some
> reason the value for
>
> "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesInPerSec"
> "kafka.server":type="BrokerTopicMetrics",name="AllTopicsBytesOutPerSec"
> ...
>
> Always show zero. This strikes me as strange, I didn't think there would be
> enable/disable feature for this, anyone have any ideas why this might be?
>
> Thanks!!
> Jinder
>