You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/06/04 13:13:46 UTC
[GitHub] [rocketmq] RongtongJin commented on a diff in pull request #4409: [Summer of code] Reuse dledger remotingServer in controller mode.
RongtongJin commented on code in PR #4409:
URL: https://github.com/apache/rocketmq/pull/4409#discussion_r889521407
##########
controller/src/main/java/org/apache/rocketmq/controller/ControllerManager.java:
##########
@@ -120,13 +121,13 @@ public void registerProcessor() {
}
public void start() {
- this.remotingServer.start();
this.heartbeatManager.start();
+ this.remotingServer = this.controller.getRemotingServer();
+ registerProcessor();
Review Comment:
最好是在initialize方法中做这些事
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org