how to get tps for SCHEDULE_TOPIC_XXXX topic tps

2018-04-20 Thread superheizai
Hey guys,
     I want to collect data about rocketmq server node, to see the current tps 
on the node and how topics contribute to the broker tps. Then I collect server 
total tps from DefaultMQAdminExt.fetchBrokerRuntimeStats, then I get topic 
level minute tps from mqAdmin.viewBrokerStatsData .    Today,  I encounter a 
problem. The broker data goes high, but the topic level is normal. I suspect, 
the retry lead to this problem. Then I check the code, I found the topic list, 
get from mqAdmin.fetchAllTopicList() didn't include the SCHEDULE_TOPIC_,  
and I can't get the tps for those send back to retry queue.    Any help?
Justin Liu

ZTO express

回复:how to get tps for SCHEDULE_TOPIC_XXXX topic tps

2018-04-20 Thread superheizai
     I can get what I want by  admin.viewBrokerStatsData
--发件人:superheizai
 发送时间:2018年4月21日(星期六) 00:22收件人:users 
主 题:how to get tps for SCHEDULE_TOPIC_  topic tps
Hey guys,
     I want to collect data about rocketmq server node, to see the current tps 
on the node and how topics contribute to the broker tps. Then I collect server 
total tps from DefaultMQAdminExt.fetchBrokerRuntimeStats, then I get topic 
level minute tps from mqAdmin.viewBrokerStatsData .    Today,  I encounter a 
problem. The broker data goes high, but the topic level is normal. I suspect, 
the retry lead to this problem. Then I check the code, I found the topic list, 
get from mqAdmin.fetchAllTopicList() didn't include the SCHEDULE_TOPIC_,  
and I can't get the tps for those send back to retry queue.    Any help?
Justin Liu

ZTO express