GitHub user xdralex opened a pull request:

    https://github.com/apache/kafka/pull/1196

    KAFKA-1614: Partition log directory name and segments information exposed 
via JMX

    This is an updated version of 
https://issues.apache.org/jira/browse/KAFKA-1614 patch which was made for 
0.8.1.1 version. 
    
    It makes partition log directory and single segments information exposed 
via JMX. This is useful to:
    * monitor disks usage in a cluster and on single broker;
    * calculate disk space taken by different topics;
    * estimate space to be freed when segments are expired.
    
    Yahoo's Kafka Manager uses it to show information about topics and 
partitions sizes:
    
    
![topics](https://cloud.githubusercontent.com/assets/1021271/14336342/aa3a197a-fc17-11e5-9ae8-7a4a8bf32562.png)
    
![partitions](https://cloud.githubusercontent.com/assets/1021271/14336348/b38e2354-fc17-11e5-930d-9b36c7aae1e8.png)
    
    Our internal tool uses it to show how segments sizes were changing over 
time:
    
    
![segments](https://cloud.githubusercontent.com/assets/1021271/14336349/b566ed8c-fc17-11e5-811f-d9bca5e2e099.png)
    
    @junrao could you please review when you have time?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/metamx/kafka KAFKA-1614

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1196.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1196
    
----
commit 0920c851d324b18bcd6538dccd0e4cbfa6422c75
Author: Alexander Demidko <dralex...@gmail.com>
Date:   2016-04-06T23:42:45Z

    Partition log directory name and segments information exposed via JMX

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to