elephone-184 opened a new pull request, #4329: URL: https://github.com/apache/rocketmq-dashboard/pull/4329
Fixes #4328. ### Summary Adds a broker disk storage watermark and message auto-expiration forecasting framework to project CommitLog/ConsumeQueue storage exhaustion and trigger mitigation workflows before disk write-rejection thresholds are reached. ### Features - `BrokerDiskWatermarkReport`: models disk usage percentages, MB/hour growth velocity, exhaustion time estimates, and clean watermark ratios. - `BrokerDiskForecasterService`: analyzes broker storage trends, parses runtime stats, and computes capacity exhaustion curves. - `BrokerDiskForecasterController`: exposes `/cluster/diskForecast.query` with permission control. - `BrokerDiskForecasterModal`: MUI interface visualizing broker disk watermarks, linear progress indicators, and actionable capacity recommendations. - Comprehensive unit tests covering controller and service layers. ### Test Plan - Unit tests in `BrokerDiskForecasterControllerTest` and `BrokerDiskForecasterServiceImplTest`. - Tested normal cluster query pathways and fallback behavior. -- 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]
