kinesis
kinesis copied to clipboard
Right way to close a Kinesis stream
Hi, What is the right way to close/terminate a Kinesis stream?
I would like a Kinesis stream to stop consuming any resources. I'm using only the readable part of the stream, and I tried to pause and destroy it, remove all listeners etc but I still see my process consuming much more resources than before I initialize the Kinesis stream.
Thanks.
Hmmm, interesting. Does it continue to happen if you do: myStream.pause = true
?
(sorry, that should be myStream.paused = true
)
It stops consuming the stream, but still consumes CPU.
On Nov 20, 2016, at 16:56, Michael Hart [email protected] wrote:
(sorry, that should be myStream.paused = true)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
What's the right way to close the stream then?
Itamar, I tried using DeleteStream and was unsuccessful. I documented my method and failure in #28
@chody-h this is about closing the stream resource, not deleting the stream