本篇文章给大家分享的是有关如何理解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命令,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注亿速云行业资讯频道。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。