kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 马哲超 <mazhechaomaill...@gmail.com>
Subject Re: Kafka JMX metrics is not a registered bean
Date Sun, 04 Jan 2015 03:07:53 GMT
Yes, that works.

2015-01-01 8:07 GMT+08:00 Jun Rao <jun@confluent.io>:

> Not exactly sure, but you may have to escape the quotes.
>
> Thanks,
>
> Jun
>
> On Wed, Dec 24, 2014 at 3:29 AM, 马哲超 <mazhechaomaillist@gmail.com> wrote:
>
> > Hello,
> >
> > I'm using cmdline-jmxclient to get Kafka JMX metrics values. When I run
> the
> > command below
> >
> > java -jar cmdline-jmxclient.jar - KAFKA_HOST:JMX_PORT
> >
> > it shows all registered bean, including Kafka JMX metrics bean
> > like
> > "kafka.server":name="AllTopicsBytesOutPerSec",type="BrokerTopicMetrics".
> >
> > But when I run the command below
> >
> > java -jar cmdline-jmxclient.jar
> > - KAFKA_HOST:JMX_PORT
> > "kafka.server":name="AllTopicsBytesOutPerSec",type="BrokerTopicMetrics"
> >
> > I get an error which says
> > "kafka.server":name="AllTopicsBytesOutPerSec",type="BrokerTopicMetrics"
> is
> > not a registered bean.
> >
> > So what's the problem when I get  Kafka JMX metrics values by using
> > cmdline-jmxclient?
> >
> > However, everything is OK when I get Java JMX metrics
> > like java.lang:type=ClassLoading via cmdline-jmxclient. Also, I can get
> > Kafka JMX metrics values via Jconsole.
> >
> > Anyone can help me?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message