[Rust] Add persistent stream proto - #761
Open
elenagaljak-db wants to merge 1 commit into
Open
Conversation
This was referenced Aug 20, 2026
elenagaljak-db
force-pushed
the
stack/eos-proto
branch
from
August 20, 2026 09:27
4ff9401 to
fd8c70d
Compare
elenagaljak-db
force-pushed
the
stack/eos-proto
branch
from
August 20, 2026 10:47
fd8c70d to
1ffcd2e
Compare
Signed-off-by: elenagaljak-db <elena.galjak@databricks.com>
elenagaljak-db
force-pushed
the
stack/eos-proto
branch
from
August 20, 2026 13:09
1ffcd2e to
82a81bf
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 changes are proposed in this pull request?
This PR adds the in-development protobuf contract used by persistent Zerobus ingestion streams. It contains only the wire-level API.
The contract adds:
PersistentStream, a bidirectional RPC whose first message creates a durable stream or resumes one bystream_id.ResumeIngestStreamRequest, including the protobuf descriptor and requiredrecord_typeused to validate a resumed stream against its original configuration.ResumeIngestStreamResponse.last_committed_offset, the server watermark from which the client continues atlast_committed_offset + 1.RetireStreamcontract; a public Rust retirement API is intentionally deferred.The shapes and field numbers match the current Shinkansen server contract. The PR also records this API-contract addition in
rust/NEXT_CHANGELOG.md.Stack
How is this tested?
The protobuf is compiled by the Rust SDK build. The complete create, ingest, flush, and resume flow is exercised in #764.