elephone-184 opened a new pull request, #4336: URL: https://github.com/apache/rocketmq-dashboard/pull/4336
Fixes #4333. ### Summary Adds a topic message deduplication and idempotency health diagnostic engine to analyze business key collisions, duplicate time-window distributions, and consumer idempotency readiness. ### Features - `TopicDeduplicationHealthReport`: models unique/duplicate key counts, duplication ratio, top duplicate keys, and idempotency health status. - `TopicDeduplicationHealthService`: samples topic messages, groups duplicate keys by time delta windows (<1s, 1-5s, 5-30s, >30s). - `TopicDeduplicationHealthController`: exposes `/topic/dedupHealth.query` with permission control. - `TopicDeduplicationHealthModal`: MUI interface displaying duplication percentage bars, duplicate key breakdown, and idempotency recommendations. - Unit tests covering controller and service layers. ### Test Plan - Unit tests in `TopicDeduplicationHealthControllerTest` and `TopicDeduplicationHealthServiceImplTest`. - Tested sample message processing and interval bucket mapping. -- 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]
