Graceful Shutdown of Workers
leamarty opened this issue · 4 comments
Since September 30, 2016, there's a new method in KCL's library (for Java) that handles very well the shutdown. Its called "requestShutdown", and it has already been implemented there.
awslabs/amazon-kinesis-client#109
We are missing that method here in Node... when KCL decides to shutdown a worker, how can we handle and perform a Graceful Shutdown? Meaning that would be cool to let the worker to finish processing the current batch, then checkpoint, and only then start the shutdown.
Currently graceful shutdown isn't supported for the MultiLang daemon clients at this time. We would like to bring support for the feature to the MultiLang daemon, and are prioritizing the feature against other feature requests.
To assist us with prioritizing this, could anyone else affected please post a reaction or comment.
This should definitely be added as soon as possible.