spring-projects / spring-projects/spring-boot

Add support for streaming responses from actuator web endpoints

Open
#21,308 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://github.com/spring-projects/spring-boot/pull/21296 describes a use case for streaming a response from an actuator web endpoint rather than buffering the whole response in memory and then writing it out. While it's already possible with a web-stack-specific endpoint, such as @RestControllerEndpoint, it would be good to have something that's web-stack-agnostic that can be returned from an endpoint operation as Resource, for example, can be used today.

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 reading PR #21296 and the actuator web endpoint support it describes, then compare the existing web-stack-specific @RestControllerEndpoint behavior with endpoint operations that return Resource. Done means providing a web-stack-agnostic way to stream actuator responses without buffering the whole response in memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.