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-unsubscr...@kafka.apache.org

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

Reply via email to