When I want to start listening to a stream on DataSift I use start_stream_subscriber()
But how do I stop listening to the stream?
I found no method in the API that stops a stream, and thus stopping DataSift from billing me.
When I want to start listening to a stream on DataSift I use start_stream_subscriber()
But how do I stop listening to the stream?
I found no method in the API that stops a stream, and thus stopping DataSift from billing me.
You can register callback method that listens for stream closing with on_closed.