Skip to content

Conversation

sakthivelmanii
Copy link
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 as code owners 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
@sakthivelmanii sakthivelmanii force-pushed the tpc_support branch 4 times, most recently from 486b063 to a160c95 Compare September 24, 2025 11:15
Comment on lines 88 to 90
if (monitoringHost != null) {
settingsBuilder.setEndpoint(monitoringHost);
}
Copy link
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
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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

4 participants