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

Joel Koshy commented on KAFKA-1961:
-----------------------------------

Yes it would be inconsistent in that you would lose offsets but we don't 
actually purge from the offsets cache if that happens. I agree that we should 
prevent this from happening in the first place.

We could expose a broker-side config to allow deleting internal topics but I 
think the better approach would be a combination of KIP-4 (topic command RPC) 
with authorization.


> 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