- Expanded support for message keys
- Terminate a persistent query on a DROP command
Read more: Announcing ksqlDB 0.15
Read more: Announcing ksqlDB 0.15
I’m a beginner with ksqlDB. Does the drop command also physically delete the internal changelog / repartition topics created by the query ?
Based on the docs I think the topic is left alone unless you add the optional DELETE TOPIC
syntax
DROP STREAM [IF EXISTS] stream_name [DELETE TOPIC];
If the DELETE TOPIC clause is present, the stream’s source topic is marked for deletion.
…… I’ve just realised you’re asking about the internal topics from the query itself, not the stream/table. I assume that the topics are cleaned up, but let me check and confirm.
Yes, internal topic (like repartition topics and changelog topics) are cleaned up when you TERMINATE
a query.
The DELETE TOPIC
clause applies to the query output/result topic.