Willhow-Gao commented on code in PR #8169:
URL: https://github.com/apache/rocketmq/pull/8169#discussion_r1608477337


##########
client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:
##########
@@ -704,7 +704,7 @@ public void operationFail(Throwable throwable) {
                         onExceptionImpl(brokerName, msg, timeoutMillis - cost, 
request, sendCallback, topicPublishInfo, instance,
                             retryTimesWhenSendFailed, times, ex, context, 
true, producer);
                     } else {
-                        MQClientException ex = new MQClientException("unknow 
reseaon", throwable);
+                        MQClientException ex = new MQClientException("unknown 
reason", throwable);

Review Comment:
   If the exception here is a RemotingTooMuchRequestException, you should also 
stop retrying.



-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to