YxAc commented on code in PR #96:
URL: https://github.com/apache/rocketmq-mqtt/pull/96#discussion_r873166337


##########
mqtt-ds/src/main/java/org/apache/rocketmq/mqtt/ds/mq/MqAdmin.java:
##########
@@ -28,9 +28,13 @@ public class MqAdmin {
     private DefaultMQAdminExt defaultMQAdminExt;
 
     public MqAdmin(Properties properties) {
+        this(properties.getProperty("NAMESRV_ADDR"));

Review Comment:
   add this constructor for optimizing MqFactory to reuse the same code block



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to