In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to clear rocketmq messages". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how to clear rocketmq messages" together.
1. Stop rocketmq: kill -9 just kill it all
2. Delete logs/rocketmqlogs : a large number of logs under/root
3. Delete/root/store : topic and other information in MQ that seems to be accumulated
4. [optional] Clear topics displayed in MQ
sh mqadmin topicList -n 192.168.1.4:9876
sh mqadmin deleteTopic -c HOSTNAME -n 192.168.1.4:9876 -t orderTopic
*. Then restart rocketmq and try step four to see if it's clean
p.s.
1. It is critical to stop rocketmq and clear the order first; if it is not clear, rocketmq does not know where to reload all accumulated, resulting in failure to start rocketmq.
2. deleteTopic is not required, but when deleting it, you generally need to specify-c, you can try using hostname
Thank you for reading, the above is the content of "how to clear rocketmq message," after the study of this article, I believe everyone has a deeper understanding of how to clear rocketmq message, the specific use situation still needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.