Use kafka-topics.sh --delete to delete remove-me topic. $ ./bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic remove-me Topic remove-me is marked for deletion. Note: This will have no impact if delete.
Similarly, how do you delete a topic?
- Go to Forums. Select the Forums tool from the Tool Menu of your site.
- Select Delete Topic from the drop-down menu. Zoom.
- You can also click on the title of a topic to select it. Zoom.
- Then click Delete Topic from within that topic. Zoom.
- Confirm deletion. Zoom.
Similarly, how do you set delete topic enable to true in Kafka? You have to set delete. topic. enable to true in config/server. properties before issuing this delete-topic command, otherwise, Kafka ignores the command you submit and does nothing for the topic.
Also asked, how do I delete data in Kafka?
1. stop zookeeper & Kafka server, 2. then go to 'kafka-logs' folder , there you will see list of kafka topic folders, delete folder with topic name 3. go to 'zookeeper-data' folder , delete data inside that.
How do you create a topic in Kafka?
Quickstart
- Step 1: Download the code. Download the 2.5.
- Step 2: Start the server.
- Step 3: Create a topic.
- Step 4: Send some messages.
- Step 5: Start a consumer.
- Step 6: Setting up a multi-broker cluster.
- Step 7: Use Kafka Connect to import/export data.
- Step 8: Use Kafka Streams to process data.