kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <...@confluent.io>
Subject Re: Kafka JMX metrics is not a registered bean
Date Thu, 01 Jan 2015 00:07:17 GMT
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