rocketmq broker会占用多个端口? #6208
-
在broker配置了listenPort=30911,启动后发现30909和30912都被rocketmq占用了,这是正常的吗? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
现在还有个新问题,broker group 2改了端口后(从30911改成了31911),mqadmin ClusterList 看不到broker group 2,想知道rocketMQ controller支持下面这种架构吗? |
Beta Was this translation helpful? Give feedback.
-
另外想问下mqshutdown broker能指定broker吗? |
Beta Was this translation helpful? Give feedback.
-
30909 被占用是因为启动了 fastRemotingServer 30912 被占用是供 HA 使用
不能,mqshutdown 是通过 rocketmq/distribution/bin/mqshutdown Lines 19 to 30 in 88000da |
Beta Was this translation helpful? Give feedback.
30909 被占用是因为启动了 fastRemotingServer
rocketmq/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java
Lines 429 to 435 in 88000da
30912 被占用是供 HA 使用
rocketmq/container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java
Line 140 in 88000da