如何理解RocketMQNameSrv命令
本篇文章给大家分享的是有关如何理解RocketMQ NameSrv命令,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。
目前创新互联公司已为上千多家的企业提供了网站建设、域名、雅安服务器托管、网站托管、企业网站设计、师宗网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。
[baseuser@HZPL00xxxx rocketmq]$ sh bin/mqadmin getNamesrvConfig -n 192.168.1.x:9876 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 ============192.168.1.x:9876============ serverChannelMaxIdleTimeSeconds = 120 listenPort = 9876 serverCallbackExecutorThreads = 0 serverAsyncSemaphoreValue = 64 serverSocketSndBufSize = 4096 rocketmqHome = /home/baseuser/rocketmq clusterTest = false serverSelectorThreads = 3 useEpollNativeSelector = false orderMessageEnable = false serverPooledByteBufAllocatorEnable = true kvConfigPath = /home/baseuser/namesrv/kvConfig.json serverWorkerThreads = 8 serverSocketRcvBufSize = 4096 productEnvName = center serverOnewaySemaphoreValue = 256 configStorePath = /home/baseuser/namesrv/namesrv.properties
sh bin/mqadmin deleteKvConfig -n 192.168.1.x:9876 -s namesapce -k key Delete KV config. -s set the namespace -k key set the key name
sh bin/mqadmin updateKvConfig -n 192.168.1.x:9876 -s namesapce -k key update KV config. -s set the namespace -k key set the key name -v value set the key value
sh bin/mqadmin updateNamesrvConfig -n 192.168.1.x:9876 -s namesapce -k key update KV config. -k key set the key name -v value set the key value
sh bin/mqadmin wipeWritePerm -n 192.168.1.x:9876 -b brokerAddr Wipe write perm of broker in all name server -b brokerName
以上就是如何理解RocketMQ NameSrv命令,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注创新互联行业资讯频道。
分享标题:如何理解RocketMQNameSrv命令
文章链接:http://scyanting.com/article/jgdoio.html