[jira] [Commented] (KAFKA-560) Garbage Collect obsolete topics

2020-06-01 Thread Goltseva Taisiia (Jira)


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

Goltseva Taisiia commented on KAFKA-560:


I'm looking for an option on Kafka for auto deletion of old unused topics. 
There is no such option, right?

I wonder why? I think it's no less important than deleting old messages via 
retention policy. Because there are collecting lot's of unused topics consuming 
recources in dev environments. It would be very useful from my point of view to 
delete such old topics automatically.

> Garbage Collect obsolete topics
> ---
>
> Key: KAFKA-560
> URL: https://issues.apache.org/jira/browse/KAFKA-560
> Project: Kafka
>  Issue Type: New Feature
>Reporter: Jay Kreps
>Assignee: Harsha
>Priority: Major
>  Labels: project
>
> Old junk topics tend to accumulate over time. Code may migrate to use new 
> topics leaving the old ones orphaned. Likewise there are some use cases for 
> temporary transient topics. It would be good to have a tool that could delete 
> any topic that had not been written to in a configurable period of time and 
> had no active consumer groups. Something like
>./bin/delete-unused-topics.sh --last-write [date] --zookeeper [zk_connect]
> This requires API support to get the last update time. I think it may be 
> possible to do this through the OffsetRequest now?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KAFKA-560) Garbage Collect obsolete topics

2019-06-20 Thread Carlos Manuel Duclos Vergara (JIRA)


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

Carlos Manuel Duclos Vergara commented on KAFKA-560:


I guess nothing has happened here, any progress on this?

> Garbage Collect obsolete topics
> ---
>
> Key: KAFKA-560
> URL: https://issues.apache.org/jira/browse/KAFKA-560
> Project: Kafka
>  Issue Type: New Feature
>Reporter: Jay Kreps
>Assignee: Sriharsha Chintalapani
>Priority: Major
>  Labels: project
>
> Old junk topics tend to accumulate over time. Code may migrate to use new 
> topics leaving the old ones orphaned. Likewise there are some use cases for 
> temporary transient topics. It would be good to have a tool that could delete 
> any topic that had not been written to in a configurable period of time and 
> had no active consumer groups. Something like
>./bin/delete-unused-topics.sh --last-write [date] --zookeeper [zk_connect]
> This requires API support to get the last update time. I think it may be 
> possible to do this through the OffsetRequest now?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)