Click to copy

• 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;

Avoiding data loss when deleting streams

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.

Discover what readers are saying
topictale
Get easy to digest how-tos on ksqlDB
Sign up
Please read our Privacy Policy to understand how we protect and manage your data.
You may also like