chennaji9 opened a new pull request, #11300:
URL: https://github.com/apache/rocketmq/pull/11300

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   Fixes #11293
   
   ### Brief Description
   
   Three factual corrections in `docs/en/Operations_Producer.md`:
   
   1. The page claimed "we will always get SEND_OK if no exception is thrown". 
That is wrong: `MQClientAPIImpl.processSendResponse` maps `FLUSH_DISK_TIMEOUT`, 
`FLUSH_SLAVE_TIMEOUT` and `SLAVE_NOT_AVAILABLE` to ordinary `SendStatus` values 
without throwing (the page itself documents these statuses right below). The 
sentence now tells readers to check `SendResult.getSendStatus()`.
   2. "0 times in asynchronous mode" → async sends retry **2** times by default 
(`DefaultMQProducer.retryTimesWhenSendAsyncFailed = 2`).
   3. "sendMsgTimeout(default is 10 seconds)" → the default is **3000 ms** 
(`DefaultMQProducer.sendMsgTimeout = 3000`). Also fixes the "less then" typo in 
the same sentence.
   
   ### How Did You Test This Change?
   
   Verified each claim against current `develop` source: 
`client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java`
 (lines 116/133/140) and 
`client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java#processSendResponse`
 (non-throwing branches for the three statuses). Three-line textual diff only.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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