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

Jay Kreps commented on KAFKA-1961:
----------------------------------

This would be hard to do accidentally, right, you have to type out the name of 
the topic you want to delete? Is there ever a valid reason to do this, e.g. you 
want to clean up all the offsets so you delete and recreate. Does that actually 
work or would something terrible happen (since state in broker wouldn't get 
reset)?

> Looks like its possible to delete _consumer_offsets topic
> ---------------------------------------------------------
>
>                 Key: KAFKA-1961
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1961
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.2.0
>            Reporter: Gwen Shapira
>              Labels: newbie
>
> Noticed that kafka-topics.sh --delete can successfully delete internal topics 
> (__consumer_offsets).
> I'm pretty sure we want to prevent that, to avoid users shooting themselves 
> in the foot.
> Topic admin command should check for internal topics, just like 
> ReplicaManager does and not let users delete them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to