yuluo-yx opened a new issue, #2911:
URL: https://github.com/apache/rocketmq-dashboard/issues/2911

   When Aliyun returns both topicLagMap and totalLag, AliyunConverters emits 
every per-topic row and an additional total row. Consumers such as the cloud 
metrics collector sum every returned row, so 40 + 60 topic lag plus totalLag 
100 is reported as 200.
   
   Reproduction:
   1. Build a GetConsumerGroupLag response with two topic rows totaling 100 and 
totalLag equal to 100.
   2. Convert it with AliyunConverters.toQueueProgressRows.
   3. Sum diffTotal across the returned rows.
   
   Actual: the sum is 200.
   Expected: use the topic breakdown when present, and retain totalLag only as 
a fallback when no breakdown is available.


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