[ 
https://issues.apache.org/jira/browse/KAFKA-6040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198397#comment-16198397
 ] 

Ismael Juma commented on KAFKA-6040:
------------------------------------

Retention is done on a partition, not topic, so the broker doesn't need to 
maintain a topic size at the moment. The partition size is exposed via a Log 
size metric

> Expose topic size for monitoring
> --------------------------------
>
>                 Key: KAFKA-6040
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6040
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: Michael Andre Pearce
>
> Currently it seems there is no monitoring endpoint of topic size, even though 
> the cluster must calculate such estimation to maintain retention.size
> This is useful operationally to get understanding of actual topic usages, 
> based on what the broker believes.
> As interim it seems some scripts exist to get this, but it would be ideal to 
> get the value the broker believes/calculates.
> https://gist.github.com/kapkaev/ef633348dbecfedc0166



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to