Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

feat: TPC support#4055

Merged
sakthivelmanii merged 3 commits intomainfrom
tpc_support
Sep 24, 2025
Merged

feat: TPC support#4055
sakthivelmanii merged 3 commits intomainfrom
tpc_support

Conversation

@sakthivelmanii
Copy link
Copy Markdown
Collaborator

Description:

This PR adds the support for configuring Partner Universe(TPU) in Java Spanner Client Library.

  • Decides the monitoring host based on universeDomain set in SpannerOptions
  • Decides the default host in SpannerOptions based on universeDomain
  • Provides support for universeDomain in ConnectionProperties(JDBC)
  • Removes the existing setMonitoringHost method which is no longer needed. TPC is not live yet so this functionality was not used.

@sakthivelmanii sakthivelmanii requested review from a team September 24, 2025 08:29
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Sep 24, 2025
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java Outdated
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java Outdated
@sakthivelmanii sakthivelmanii force-pushed the tpc_support branch 4 times, most recently from 486b063 to a160c95 Compare September 24, 2025 11:15
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java Outdated
Comment thread google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerOptions.java Outdated
Comment on lines 88 to 90
if (monitoringHost != null) {
settingsBuilder.setEndpoint(monitoringHost);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If monitoring host is marked as deprecated, we could remove this and have an alternate option for setting a system property to set monitoring host for testing.

Copy link
Copy Markdown
Collaborator Author

@sakthivelmanii sakthivelmanii Sep 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Deprecated annotation means it will not remove the functionality. That's why I intend to keep this. Will remove it as part of removal.

@sakthivelmanii sakthivelmanii merged commit 7625cce into main Sep 24, 2025
42 checks passed
@sakthivelmanii sakthivelmanii deleted the tpc_support branch September 24, 2025 15:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants