knotx
knotx copied to clipboard
Safe shutdown
Please kindly implement way to handle 'safe shutdown' of knotx process.
By 'safe shutdown' I understand waiting until all requests are served or timed out and only after that shutting down process.
There is a way to gracefully shutdown JVM process that waits for verticles to stop without the need to kill the knot.x process. See the conversation in here: https://github.com/Knotx/knotx-cookbook/pull/15
for templates/default/etc/systemd/system/knotx.service.erb file.
Is it acceptable ?