Aias00 opened a new issue, #1096:
URL: https://github.com/apache/rocketmq-dashboard/issues/1096
## Problem
The Broker Cluster table renders a Restart action for each broker, but the
button has no handler even though the backend exposes `POST
/api/clusters/{clusterId}/brokers/{name}/restart`. Operators receive no action
or feedback.
## Scope
Track 1 / Cluster and Broker operations.
## Proposed fix
Retain the source cluster identifier when mapping API data, add a service
wrapper for the existing restart endpoint, require confirmation before invoking
it, and refresh the cluster data after a successful request.
## Evidence
`web/src/pages/studio/BrokerCluster.tsx` renders the restart button without
`onClick`;
`server/src/main/java/org/apache/rocketmq/studio/cluster/broker/ClusterController.java`
exposes the restart route.
--
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]