Click to copy
Working With Topics • Reviewed for ksqlDB 0.29
How to Delete Topic in ksqlDB
Deleting a topic in ksqlDB is not very straightforward.
If the topic you want to delete wasn't imported as a stream yet, you w ill first need to create a new stream from that topic.
Next, you can delete the topic alongside the stream you have just created by dropping the stream using the DELETE TOPIC
modifier.
DROP STREAM stream_name DELETE TOPIC;
Was this article helpful?