Click to copy
Streams • Reviewed for ksqlDB 0.29
How to Find Underlying Topic of Stream in ksqlDB
If you need to know what physical topic is being used in a stream, you can use the DESCRIBE
command:
DESCRIBE stream_name EXTENDED;
If you need to delete a stream, identifying the underlying topic is crucial to avoid data loss.
In situations where the stream was created from an existing topic to be used as input (and probably created and owned by a different service), running a DROP STREAM stream_name DELETE TOPIC
would also delete that topic causing an outage to that service.
Was this article helpful?