Aias00 opened a new issue, #1273: URL: https://github.com/apache/rocketmq-dashboard/issues/1273
## Problem `RocketMQAdminClientImpl.sendMessage` records a successful audit event and returns a message ID whenever `DefaultMQProducer.send` returns normally. RocketMQ can return a non-`SEND_OK` `SendStatus`, so the control plane currently reports a successful Topic test-message operation although delivery was not accepted. ## Expected behavior Return a structured operation failure and record a failed audit event when the send result is null or its status is not `SEND_OK`. Preserve the existing successful response only for `SEND_OK`. ## Scope Track 1 / Topic management. Add focused provider tests for `SEND_OK`, non-`SEND_OK`, and null send results. ## Evidence `server/src/main/java/org/apache/rocketmq/studio/provider/apache/RocketMQAdminClientImpl.java:337` uses the result without checking `SendStatus`; the corresponding DLQ resend provider already treats non-`SEND_OK` as failure. -- 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]
