Skip to content

Conversation

sakthivelmanii
Copy link
Contributor

@sakthivelmanii sakthivelmanii commented Jun 27, 2025

Description:

Directpath allows GCP VM to connect to Spanner directly instead of going through Google Public frontend. It reduces the latency of each request, as each request flows to Spanner directly.

In JDBC connection URL/properties, customers can set enableDirectAccess=true to enable DirectPath. For non-GCP VM workloads, gRPC will automatically fall back to the standard network path.

@sakthivelmanii sakthivelmanii requested review from a team as code owners June 27, 2025 10:55
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Jun 27, 2025
@sakthivelmanii sakthivelmanii changed the title feat: Allow JDBC connection to configiue direct access feat: Allow JDBC connection to configure direct access Jun 27, 2025
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: xs Pull request size is extra small. labels Jun 27, 2025
@olavloite olavloite merged commit d72242a into main Jun 27, 2025
26 checks passed
@olavloite olavloite deleted the support_direct_path branch June 27, 2025 13:37
lqiu96 pushed a commit that referenced this pull request Jul 16, 2025
* feat: Allow JDBC connection to configiue direct access

* test: update SQL script tests to allow zero for timeouts

---------

Co-authored-by: Knut Olav Løite <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants