chennaji9 opened a new pull request, #11343: URL: https://github.com/apache/rocketmq/pull/11343
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes Fixes #11329 ### Brief Description `ProducerWithNamespace` printed `send success` for every send that returned without throwing, but `DefaultMQProducer.send` can return normally with `FLUSH_DISK_TIMEOUT`, `FLUSH_SLAVE_TIMEOUT` or `SLAVE_NOT_AVAILABLE` — exactly the degraded-persistence cases a learner should see. The output now prints `result.getSendStatus()` instead of an unconditional success claim (and fixes the `misId` typo). ### How Did You Test This Change? `mvn -pl example -am -DskipTests compile` (JDK 11, PR base commit) → BUILD SUCCESS with the change. `SendResult.getSendStatus()` is the standard accessor used by other examples (e.g. `operation/Producer.java` prints the full `SendResult`). 🤖 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]
