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

Ivan Yurchenko commented on KAFKA-15300:
----------------------------------------

The {{kafka-log-dirs}} tool returns result in the following format:

 
{code:java}
{
    "brokers":
    [
        {
            "broker": 1,
            "logDirs":
            [
                {
                    "partitions":
                    [
                        {
                            "partition": "xxx-0",
                            "size": 0,
                            "offsetLag": 0,
                            "isFuture": false
                        }
                    ],
                    "error": null,
                    "logDir": "/tmp/kraft-combined-logs"
                }
            ]
        }
    ],
    "version": 1
}
 {code}
It naturally has separate results per broker. I think, it makes sense to 
include {{remoteSize}} and others in here, despite they'll be duplicated across 
brokers (because remote storage is the same in all brokers).

 

> Include remotelog size in complete log size and also add local log size and 
> remote log size separately in kafka-log-dirs tool. 
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-15300
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15300
>             Project: Kafka
>          Issue Type: Task
>          Components: core
>            Reporter: Satish Duggana
>            Assignee: Ivan Yurchenko
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Include remotelog size in complete log size and also add local log size and 
> remote log size separately in kafka-log-dirs tool. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to