Skip to content

feat(tonic-xds): add public bootstrap config builder & release alpha.3 - #2825

Open
YutaoMa wants to merge 1 commit into
grpc:masterfrom
YutaoMa:yutaoma/tonic-xds-bootstrap-builder-alpha3
Open

feat(tonic-xds): add public bootstrap config builder & release alpha.3#2825
YutaoMa wants to merge 1 commit into
grpc:masterfrom
YutaoMa:yutaoma/tonic-xds-bootstrap-builder-alpha3

Conversation

@YutaoMa

@YutaoMa YutaoMa commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Motivation

Releasing alpha.3 to include the recent custom transport API additions, in order to test in other crates.

Solution

One gap identified while assessing the API production readiness: currently the only way to construct a bootstrap config to instantiate an xDS channel from is to go through a A27-formatted JSON string. This is more error prone than a typed builder, which is now introduced in this PR. We acknowledge that other gRPC implementations such as grpc-go explicitly marked its typed config builder as test only / experimental in anticipation of needing to change the config shapes, so here we marked relevant enums and fields as #[non_exhaustive] and guarded them with checks to ensure forward compatibility.

@YutaoMa
YutaoMa marked this pull request as ready for review August 20, 2026 22:04
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