Aias00 opened a new pull request, #4455:
URL: https://github.com/apache/rocketmq-dashboard/pull/4455

   ### Which Issue(s) This PR Fixes
   
   - Fixes #4375
   
   ### Brief Description
   
   Extend the existing Apache direct-consume workflow to the supported RocketMQ 
5.x cloud providers:
   
   - Aliyun calls the existing SDK's `VerifyConsumeMessage`, preserving 
business success/failure and
     request details in the provider-neutral result.
   - Tencent calls `VerifyMessageConsumption`, preserving its request id in the 
result.
   - `DIRECT_MESSAGE_CONSUME` becomes an explicit instance capability enforced 
by `MessageService`.
   - The Message page fails closed and only renders the operation after the 
selected instance confirms
     that capability; missing, failed, and stale capability responses cannot 
expose the command.
   
   The implementation reuses the already pinned Aliyun and Tencent SDKs and 
their existing client
   factories, so no dependency or credential-handling change is introduced.
   
   ### How Did You Test This Change?
   
   - `cd server && SPRING_PROFILES_ACTIVE=dev JAVA_HOME=<jdk21> mvn -B -ntp 
test`
     - 2420 tests passed, including ArchUnit and H2/MySQL-compatible 
integration tests.
   - `cd server && JAVA_HOME=<jdk21> mvn -B -ntp -DskipTests package`
     - Checkstyle, compilation, JAR packaging, and Spring Boot repackaging 
passed.
   - Focused Java 21 suite for Aliyun/Tencent/Apache providers, capability 
service/controller, and
     `MessageService`: 126 tests passed.
   - `cd web && npm test`
     - 122 test files and 1037 tests passed.
   - Focused Message/capability web suite: 3 files and 42 tests passed.
   - `cd web && npm run lint`
     - 0 errors; 10 pre-existing warnings outside the changed code.
   - `cd web && npm run build`
     - TypeScript and Vite production build passed.
   - Independent code review reported no findings; `git diff --check` passed.
   
   ### Checklist
   
   - [x] One coherent change; unrelated modifications are not bundled in
   - [x] Commit subject follows Conventional Commits (`feat:` / `fix:` / 
`refactor:` / `chore:` / `docs:` / `perf:`)
   - [x] Tests added or updated for non-trivial changes, test methods named 
`...Test`
   - [x] New UI text has both Chinese and English entries under `web/src/i18n/` 
(no new UI text)
   - [x] Architecture constraints stay green (`mvn test` runs the ArchUnit 
checks)
   - [x] New source files carry the ASF license header (no new source files)
   - [x] Documentation impact is captured in #4375; no existing user guide 
documents this operation
   
   


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