spring-projects / spring-projects/spring-boot

Graceful shutdown for RSockets

Open
#25,399 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status: blocked type: enhancement
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing WebServer.shutDownGracefully() with the current ApplicationContext.close() behavior for RSockets, and review the linked rsocket/rsocket-java issue. Done should mean that both client and server applications can shut down without cutting off in-flight requests or channels.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.