RockteMQ-AI commented on PR #11344:
URL: https://github.com/apache/rocketmq/pull/11344#issuecomment-6130746873

   **Issue Evaluation**
   
   Category: `type/documentation` | Status: **Confirmed**
   
   The example output mislabeling is valid. The blocking 
`producer.send(message)` call prints "Send async message OK", which is 
identical to the `sendAsync(...)` listener output below it. This makes the 
example unable to distinguish synchronous from asynchronous sends.
   
   **Root Cause:** Copy-paste error in the example's println statement.
   **Impact:** Confusing for developers learning the OpenMessaging API; the 
example fails to demonstrate the difference between sync and async sends.
   **Severity:** Low (example code only, no runtime impact)
   
   The proposed one-line fix (changing the sync block's output to "Send sync 
message OK") correctly addresses the mislabeling.
   
   ---
   *Automated evaluation by github-manager-bot*
   


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