nuke_stream
nuke_stream
This call can shut down a running stream completely and/or clean up any potentially left over stream data in memory. It attempts a clean shutdown of the running stream first, followed by a forced shut down, and then follows up by checking for left over data in memory and cleaning that up if any is found.
It is sent as follows:
{
"nuke_stream": "stream name here"
}
There is no response to this call.
tip
- Consider using stop_sessions first before nuking a stream. This is "asking nicely" before forcing the stream off.
- In rare cases nuking a healthy stream can cause it to remove data as it's rebooting causing a stuck state. To recover from this state another
nuke_streamis required.