You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Luke Forehand (JIRA)" <ji...@apache.org> on 2014/06/24 17:50:25 UTC

[jira] [Created] (KAFKA-1507) Using GetOffsetShell against non-existent topic creates the topic unintentionally

Luke Forehand created KAFKA-1507:
------------------------------------

             Summary: 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
            Priority: Minor


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)