feat: implement SSE event stream with subscriptions, cursor replay, b… - #732
Merged
Chucks1093 merged 3 commits intoJul 30, 2026
Merged
Conversation
…ackpressure and throttling - POST /subscriptions creates topic-filtered subscriptions (max 5 per wallet) - GET /subscriptions/:id/stream opens SSE connection with heartbeat - In-process fan-out with per-connection capped queue (500 msg) - Cursor-based replay on reconnect with at-least-once delivery - Slow-client detection: 30s full queue threshold → THROTTLED 60s - Max 2 concurrent SSE connections per wallet - server_closing event on graceful shutdown - Redis-backed subscription/cursor/throttle/connection-count store - JWT authentication for all subscription endpoints - 19 integration tests covering all acceptance criteria
Contributor
|
Nice work.. Can you quickly fix the ci |
Darkvader-ship-it
force-pushed
the
feat/sse-event-stream
branch
from
July 30, 2026 06:22
620cce0 to
986f1d0
Compare
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #728
Summary
Testing
pnpm lintpnpm buildpnpm exec prisma generatewhen schema or generated types changedChecklist