dajac opened a new pull request, #24067:
URL: https://github.com/apache/kafka/pull/24067

   `OffsetMetadataManager.cleanupExpiredOffsets` records the size of the
   records list in the offset expiration sensor. The list is shared by all
   groups in `GroupCoordinatorShard.cleanupGroupMetadata` and also holds
   group tombstones, so the `offset-expiration-rate` and
   `offset-expiration-count` metrics also count the records added for the
   groups checked earlier in the same run.
   
   This patch records only the number of offset commit tombstones added by
   the call and adds a test that passes a non-empty list.
   
   


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