Skip to content

Add owner and read fields to the frozen Jetty contract - #30

Closed
moetemp wants to merge 1 commit into
moe/jetty/v2/a2-direct-nexusfrom
moe/jetty/v2/a3-takeovers
Closed

moetemp wants to merge 1 commit into
moe/jetty/v2/a2-direct-nexusfrom
moe/jetty/v2/a3-takeovers

Conversation

@moetemp

@moetemp moetemp commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

This PR adds Activity owner fields, task tokens, close status and read limits to the Jetty prototype contract.

This branch is frozen. The current Brook API uses different messages and has no close operation. Keep this contract with its matching prototype server and SDK.

The final Jetty contract is api#31. Its native adapter still omits defer_withdrawal and a close request's withdraw_run. This review checked the field paths and did not rebuild the prototype.

Reviewer's guide

Review this as a frozen prototype. The active Streams API uses a separate contract.

  1. Read temporal/api/streamservice/v1/stream_service.proto. Check which owner and Producer claims require a task token.
  2. Check floor_from, last, and max_bytes together. Replay must use a fixed range, even when live reads select the newest Records.

Activity owner fields, a close status, task tokens for Activity checks, last-N reads, a page
byte cap, a replay floor and a continue-as-new hint, so every lane vendors one contract.
@moetemp moetemp changed the title [Jetty] Added the take-over fields of S112 to S118. Add owner and read fields to the frozen Jetty contract Nov 27, 2026
@moetemp moetemp closed this Nov 28, 2026
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