Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1507

Using GetOffsetShell against non-existent topic creates the topic unintentionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.1.1
    • None
    • None
    • centos

    Description

      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
      ...

      Attachments

        1. KAFKA-1507.patch
          18 kB
          Harsha
        2. KAFKA-1507.patch
          92 kB
          Harsha
        3. KAFKA-1507_2014-08-22_11:08:51.patch
          122 kB
          Harsha
        4. KAFKA-1507_2014-08-22_11:06:38.patch
          121 kB
          Harsha
        5. KAFKA-1507_2014-08-12_18:09:06.patch
          98 kB
          Harsha
        6. KAFKA-1507_2014-07-23_17:07:20.patch
          56 kB
          Harsha
        7. KAFKA-1507_2014-07-22_10:27:45.patch
          26 kB
          Harsha

        Issue Links

          Activity

            People

              sriharsha Harsha
              lukeforehand Luke Forehand
              Jay Kreps Jay Kreps
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: