You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 06:21:25 UTC
[I] [Studio][Bug] LiteTopic APIs return hard-coded sample resources by default [rocketmq-dashboard]
Aias00 opened a new issue, #793:
URL: https://github.com/apache/rocketmq-dashboard/issues/793
### Problem
The Studio LiteTopic backend currently returns hard-coded sample data by default. A fresh backend can show fake LiteTopic patterns, sessions, quota usage, and successful TTL extension even when no real LiteTopic provider/AdminClient integration is available.
This is misleading for META-01 LiteTopic management because users may treat the sample data as real cluster state.
### Evidence
`server/src/main/java/org/apache/rocketmq/studio/instance/topic/LiteTopicService.java` currently:
- returns `sampleItems()` from `listLiteTopics(...)`
- builds a synthetic session in `getSession(...)`
- returns fixed quota values from `getQuota(...)`
- returns `supported=true` from `getCapability()`
- validates `extendTTL(...)` but does not execute a real operation
### Expected behavior
Until a real LiteTopic provider/AdminClient integration exists, the default backend should not fabricate resources or report fake successful write operations.
A safer default is:
- list APIs return an empty result rather than sample resources
- capability reports unsupported
- session/detail and TTL update operations return an explicit unsupported response
- tests should lock the no-sample-data behavior
### Scope
This is in the RocketMQ Studio contest scope under Track 1 / META-01 LiteTopic management. It is a small safety fix that prevents fake management data before full LiteTopic provider integration lands.
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] LiteTopic APIs return hard-coded sample resources by default [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #793: [Studio][Bug] LiteTopic APIs return hard-coded sample resources by default
URL: https://github.com/apache/rocketmq-dashboard/issues/793
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] LiteTopic APIs return hard-coded sample resources by default [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #793:
URL: https://github.com/apache/rocketmq-dashboard/issues/793#issuecomment-5177568532
Resolved by #932 (merged into rocketmq-studio as 2a428b8).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org