Skip to content

feat(webflux): 支持ResponseMessage流式响应 - #361

Merged
zhou-hao merged 3 commits into
5.0.xfrom
codex/webflux-response-message-streaming
Aug 7, 2026
Merged

feat(webflux): 支持ResponseMessage流式响应#361
zhou-hao merged 3 commits into
5.0.xfrom
codex/webflux-response-message-streaming

Conversation

@zhou-hao

@zhou-hao zhou-hao commented Aug 7, 2026

Copy link
Copy Markdown
Member

No description provided.

移除普通 JSON Flux 的无界收集,委托 Spring Jackson 编码器增量输出。

通过 Micrometer ContextSnapshot 恢复所有已注册的响应式上下文。

BREAKING CHANGE: 普通 JSON Flux 改为增量传输,不再保证 Content-Length;首元素写出后的异常将终止响应,无法改写为完整错误 ResponseMessage。
@zhou-hao
zhou-hao merged commit 5c82100 into 5.0.x Aug 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant