Drop Stream
The DROP STREAM command is used to remove an existing stream from RioDB.
Access Rule
Requires STREAM or ADMIN role.
Syntax
DROP STREAM <stream name>;
Example
DROP STREAM my_udp_stream;
Output: A JSON formatted confirmation that the stream has been removed.
NOTE: A stream cannot be removed if there are windows or queries using it. There is no “force” option to cascade removals. You must first remove dependent queries and windows before you can drop a stream.