mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-19 02:23:24 +08:00
* remove innerProducer and innerConsumer in Escape #4832 * format code to pass code-style check * Move topic route management logic to TopicRouteInfoManager * Use ThreadPoolExecutor instead of creating a new ForkJoinPool * remove retry logic * remove unnecessary name server list * remove unnecessary invokeId * remove AssignmentManager and make maintenance of topic subscribe data lazy-initialized * simply code * remove unnecessary code
This commit is contained in:
@@ -133,17 +133,6 @@ public class InnerBrokerController extends BrokerController {
|
||||
return this.brokerConfig.getBrokerIP1() + ":" + this.brokerConfig.getListenPort();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNameServerList() {
|
||||
if (this.brokerContainer.getBrokerContainerConfig().getNamesrvAddr() != null) {
|
||||
this.brokerContainer.getBrokerOuterAPI().updateNameServerAddressList(brokerContainer.getBrokerContainerConfig().getNamesrvAddr());
|
||||
return this.brokerContainer.getBrokerContainerConfig().getNamesrvAddr();
|
||||
} else if (this.brokerContainer.getBrokerContainerConfig().isFetchNamesrvAddrByAddressServer()) {
|
||||
return this.brokerContainer.getBrokerOuterAPI().fetchNameServerAddr();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHAServerAddr() {
|
||||
return this.brokerConfig.getBrokerIP2() + ":" + this.messageStoreConfig.getHaListenPort();
|
||||
|
||||
Reference in New Issue
Block a user