Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-goog-spanner-request-id: implement unary and streaming interceptors that'll be passed in while creating internal Spanner channel #1

Open
odeke-em opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@odeke-em
Copy link
Member

odeke-em commented Jan 10, 2025

We need to add Unary and Streaming interceptors onto the class XGoogSpannerRequestId that'll then be passed into gRPC call options as intercepts before making each call. You can follow along with the Go implementation per
https://github.com/googleapis/google-cloud-go/blob/43c6b83c636503b0d0c45b8845e3516f80dbc86d/spanner/client.go#L437-L442 and then https://github.com/googleapis/google-cloud-go/blob/43c6b83c636503b0d0c45b8845e3516f80dbc86d/spanner/request_id_header.go#L190-L219

and on branch https://github.com/orijtech/java-spanner/tree/x-goog-request-id

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

No branches or pull requests

2 participants