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

Sriharsha Chintalapani commented on KAFKA-1507:
-----------------------------------------------

 [~nehanarkhede] this is the side effect of auto.create.topics.enable set to 
true by default.
KafkaApis.handleTopicMetadataRequest checks for above config and creates a 
topic. Do we need to create a topic in TopicMetadataRequest. I don't see 
anywhere else we are using this but I am not sure if any other outside lib 
using this api to create a topic.

> Using GetOffsetShell against non-existent topic creates the topic 
> unintentionally
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-1507
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1507
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1.1
>         Environment: centos
>            Reporter: Luke Forehand
>            Assignee: Sriharsha Chintalapani
>            Priority: Minor
>              Labels: newbie
>
> A typo in using GetOffsetShell command can cause a
> topic to be created which cannot be deleted (because deletion is still in
> progress)
> ./kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list
> kafka10:9092,kafka11:9092,kafka12:9092,kafka13:9092 --topic typo --time 1
> ./kafka-topics.sh --zookeeper stormqa1/kafka-prod --describe --topic typo
> Topic:typo      PartitionCount:8        ReplicationFactor:1     Configs:
>          Topic: typo     Partition: 0    Leader: 10      Replicas: 10
>   Isr: 10
> ...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to