Repository navigation
Conversation
moetemp
marked this pull request as draft
October 26, 2026 16:53
moetemp
force-pushed
the
moe/stream-service-messages
branch
3 times, most recently
from
October 28, 2026 08:56
482ec01 to
5068d41
Compare
The crate, sdk-python and later the server read one copy of these messages. The gRPC service and its Nexus annotations come with the server.
moetemp
added a commit
to moetemp/nexgen
that referenced
this pull request
Oct 28, 2026
The Stream protos are A1's files again, and the runtime proto is K10's, so the sample matches the crate. `CreateStreamResponse` has no `status` now. The descriptor set and the bindings are rebuilt with the README's recipe.
This was referenced Oct 28, 2026
moetemp
added a commit
to moetemp/nexgen
that referenced
this pull request
Oct 29, 2026
The Stream protos are A1's files again, so the sample matches the crate. `CreateStreamResponse` has no `status` now. The descriptor set and the bindings are rebuilt with the README's recipe.
moetemp
force-pushed
the
moe/stream-service-messages
branch
from
October 29, 2026 04:06
5068d41 to
44519d8
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.
What changed?
This PR adds the Stream service messages, marked experimental.
stream/v1/message.protohas the shared types,streamservice/v1/request_response.protohas the requests and responses, andenums/v1/stream.protohas the enums.StreamRef.owneris acommon.v1.Execution, the Workflow or Standalone Activity that owns the Stream.StreamRecorditems. Each holds oneoneof item: aStreamDataRecord, aSupersession, or theStreamClose.offsetstays outside theoneof.CreateStreamis create-or-get for an open Stream with the same owner. That Stream keeps its Retention, andcreatedis false. A create of a closed Stream fails withCLOSED, of an expired one withEXPIRED, and of another owner's withNOT_OWNER. SoCreateStreamResponsehas no status.auto_close(CreateStreamRequestfield 5,DescribeStreamResponsefield 4) andCreateStreamResponse.status(field 3).StreamErrorDetails.reasonis theStreamErrorReasonenum. Each case names its gRPC status code, so each SDK can map a reason to one error type.OFFSETisOUT_OF_RANGE. It's a read past the newest offset + 1, for example after a failover lost the newest Records, and a read from that offset works again later. A negative offset isINVALID.service.protoyet. It comes with the later stage of the project (Jetty).Why?
The SDKs and Redis already use these messages, so they need one home before a server serves them.
Breaking changes
None. These are new files.
Server PR
None needed for now.