FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support last event Id for resumability of sse by bperhaps · Pull Request #830 · modelcontextprotocol/java-sdk · GitHub

Repository navigation

Support last event Id for resumability of sse - #830

Closed
bperhaps wants to merge 4 commits into
modelcontextprotocol:mainfrom
bperhaps:feat/last-event-id
Closed

bperhaps wants to merge 4 commits into
modelcontextprotocol:mainfrom
bperhaps:feat/last-event-id

Conversation

bperhaps commented Feb 22, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

Implemented SSE resumability/redelivery support for Streamable HTTP by introducing an event-store abstraction, adding in-memory event persistence/replay, wiring Last-Event-ID handling through server session/transport layers, and adding comprehensive unit/integration tests.

I haven't discussed this PR enough, so I haven't created enough Java doc documentation and tests. If there's a chance this PR will be merged, I'll try to improve it.

Motivation and Context

Implementation of MCP documentation.

How Has This Been Tested?

I worte some tests, and also i play it on my device.

Breaking Changes

nop

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Kehrlann commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Resumability is abandoned in the upcoming 2026-07-28 spec, see spec > transport > streamable > earlier revisions. We don't want to invest in resumability support if it's bound to go away ; our session storage wouldn't allow it at scale anyway.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL