You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2023/01/20 17:24:21 UTC

[GitHub] [kafka] fvaleri commented on pull request #13136: KAFKA-14582: Move JmxTool to tools

fvaleri commented on PR #13136:
URL: https://github.com/apache/kafka/pull/13136#issuecomment-1398707514

   Output example:
   
   ```sh
   $ bin/kafka-run-class.sh org.apache.kafka.tools.JmxCommand --jmx-url service:jmx:rmi:///jndi/rmi://:9999/jmxrmi --object-name kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec --attributes FifteenMinuteRate,FiveMinuteRate --date-format "yyyyMMdd-hh:mm:ss" --reporting-interval 1000 --report-format tsv
   Trying to connect to JMX url: service:jmx:rmi:///jndi/rmi://:9999/jmxrmi
   time    20230120-06:23:14
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FifteenMinuteRate    0.0
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FiveMinuteRate	0.0
   time	20230120-06:23:15
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FifteenMinuteRate	0.0
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FiveMinuteRate	0.0
   time	20230120-06:23:16
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FifteenMinuteRate	0.0
   kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FiveMinuteRate	0.0
   ^C
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org