Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right way to close a Kinesis stream #23

Open
itamarwe opened this issue Nov 20, 2016 · 6 comments
Open

Right way to close a Kinesis stream #23

itamarwe opened this issue Nov 20, 2016 · 6 comments

Comments

@itamarwe
Copy link

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.

@mhart
Copy link
Owner

mhart commented Nov 20, 2016

Hmmm, interesting. Does it continue to happen if you do: myStream.pause = true?

@mhart
Copy link
Owner

mhart commented Nov 20, 2016

(sorry, that should be myStream.paused = true)

@itamarwe
Copy link
Author

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.

@itamarwe
Copy link
Author

What's the right way to close the stream then?

@chodyo
Copy link

chodyo commented Apr 17, 2018

Itamar, I tried using DeleteStream and was unsuccessful. I documented my method and failure in #28

@mhart
Copy link
Owner

mhart commented Apr 17, 2018

@chody-h this is about closing the stream resource, not deleting the stream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants