Oh, thanks. Both solutions work.

2014-12-31 7:03 GMT+08:00 Chris Cordray <ccord...@sciencelogic.com>:

> I saw the same issue, here's the solution... escape the double quotes...
>
> java -d64 -Xmx64M -jar ./jmxcmd.jar - 192.168.2.222:9005
> "\"kafka.server\":type=\"BrokerTopicMetrics\",name=\"AllTopicsMessagesInPerSec\""
> Count RateUnit FiveMinuteRate FifteenMinuteRate OneMinuteRate MeanRate
>
> Wrapping with single quotes might also work, but I've not tried that yet.
>
>
> '"kafka.controller":type="ControllerStats",name="LeaderElectionRateAndTimeMs"'
>
>
>
>
>
>
>
>
>

Reply via email to