lizhimins commented on code in PR #8619:
URL: https://github.com/apache/rocketmq/pull/8619#discussion_r1744903601


##########
client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:
##########
@@ -3080,6 +3081,21 @@ public void setMessageRequestMode(final String 
brokerAddr, final String topic, f
         }
     }
 
+    public MessageRequestModeSerializeWrapper getAllMessageRequestMode(final 
String brokerAddr) throws MQBrokerException,
+            RemotingConnectException, RemotingSendRequestException, 
RemotingTimeoutException, InterruptedException {
+        RemotingCommand request = 
RemotingCommand.createRequestCommand(RequestCode.GET_ALL_MESSAGE_REQUEST_MODE, 
null);
+        RemotingCommand response = this.remotingClient.invokeSync(brokerAddr, 
request, 3000);

Review Comment:
   may timeout when execute get all



-- 
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