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

Ivan Yurchenko commented on KAFKA-15166:
----------------------------------------

[~ckamal] I would comment in advance for the future KIP: not all the 
implementation may have all the necessary metadata to delete remote segments 
based on the topic name and partition number. So this probably should be either 
a checkable capability (i.e. if the RSM cannot do this, the broker doesn't call 
it) or it should receive a list of all the segment-to-be-deleted metadata.

> Add deletePartition API to the RemoteStorageManager
> ---------------------------------------------------
>
>                 Key: KAFKA-15166
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15166
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Kamal Chandraprakash
>            Assignee: Kamal Chandraprakash
>            Priority: Major
>
> Remote Storage Manager exposes {{deleteLogSegmentData}} API to delete the 
> individual log segments.  Storage providers such as HDFS have support to 
> delete a directory. Having an {{deletePartition}} API to delete the data at 
> the partition level will enhance the topic deletion.
> This task may require a KIP as it touches the user-facing APIs.



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

Reply via email to