Along the lines of WebServer.shutDownGracefully()
it would be good to be able to control the shutdown of an RSockets app (client and server). Right now, I think all you can do is ApplicationContext.close()
and that leads to potentially cutting off in-flight requests and channels at the knees. See also: https://github.com/rsocket/rsocket-java/issues/988.
Comment From: snicoll
Isn't this blocked by the RSocket issue you referenced?
Comment From: dsyer
I suppose. TBH I don't know. We'd have to ask @OlegDokuka.
Comment From: OlegDokuka
@dsyer technically, it is possible to do a workaround on the framework level, however, the workaround will be too wide to support it then. I propose to wait for the RSocket-Java to support it.
@dsyer Is it a critical feature for you?