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

   Introduces `RetentionSizeInPercent` JMX metric for regular (non-tiered) 
topics to express partition storage as a percentage of configured retention 
limits. No existing metrics or behavior are changed.
   This PR is a follow-up to the tiered storage metrics implementation and 
completes [KIP-1257: Partition Size Percentage Metrics for Storage 
Monitoring](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1257%3A+Partition+Size+Percentage+Metrics+for+Storage+Monitoring).
   
   JMX Metric
   ```
   
kafka.log:type=Log,name=RetentionSizeInPercent,topic=<topic>,partition=<partition>
   ```
   
   Testing
   - Parameterized tests covering tiered/non-tiered topic scenarios
   - Tests for unlimited retention configuration
   - Tests verify metric values via Yammer/JMX gauges


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