[
https://issues.apache.org/jira/browse/KAFKA-19368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17966242#comment-17966242
]
Kamal Chandraprakash commented on KAFKA-19368:
----------------------------------------------
[~yangpoan]
This task might require a KIP. We may need to add 2 fields in the
[DescribeLogDirsPartition|https://sourcegraph.com/github.com/apache/kafka/-/blob/clients/src/main/resources/common/message/DescribeLogDirsResponse.json?L42]:
1. RemoteLogSize: The log size in bytes for all segments that are in the remote
storage and
2. OnlyLocalLogSize: The log size in bytes for all segments that are only in
local log but not yet in remote log.
This will help us to compute the exact cost of the topic as the segments are
uploaded to remote storage eagerly.
> DescribeLogDirs API should include the partition size in the remote storage
> ---------------------------------------------------------------------------
>
> Key: KAFKA-19368
> URL: https://issues.apache.org/jira/browse/KAFKA-19368
> Project: Kafka
> Issue Type: Task
> Components: Tiered-Storage
> Reporter: Kamal Chandraprakash
> Assignee: PoAn Yang
> Priority: Major
> Labels: tiered-storage
>
> The DescribeLogDirs response does not includes the size of the partition in
> remote storage. This will be useful for the monitoring tools to compute the
> cost of the topic.
> https://sourcegraph.com/github.com/apache/kafka/-/blob/clients/src/main/resources/common/message/DescribeLogDirsResponse.json
--
This message was sent by Atlassian Jira
(v8.20.10#820010)