[ https://issues.apache.org/jira/browse/KAFKA-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324724#comment-14324724 ]
Gwen Shapira commented on KAFKA-1961: ------------------------------------- [~jkreps] - by "accidentally" I mean, "I don't know what this topic is, so I probably don't need it. Lets delete!". I've seen this happen twice in the last few weeks. I wrote off the first incident, but two is a trend :) We have utility for cleaning offsets per consumer group or topic in the consumer tool (or at least I think we have them? or planning to have them?). I think deleting an entire topic is pretty extreme. Perhaps we can allow it with a code-level flag (if someone calls the object directly) but hide the capability in the CLI? I think we do something similar in producing to internal topics. > 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)