Drop Streams
You can drop a stream with:
DROP STREAM category
Since this statement would return an error if the stream "category" does not exist, you can add "IF EXISTS" to avoid this error (it checks, if the stream is existing before running the drop)
DROP STREAM category IF EXISTS
Drop Sinks
You can drop a sink with:
DROP SINK category
Since this statement would return an error if the stream "category" does not exist, you can add "IF EXISTS" to avoid this error (it checks, if the sink is existing before running the drop)
DROP SINK category IF EXISTS