Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Using GetOffsetShell against non-existent topic creates the topic which cannot be deleted

$
0
0
Slight nitpick, but 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
...

Luke Forehand | Networked Insights | Software Engineer

Viewing all articles
Browse latest Browse all 5648

Trending Articles