feat: add ChannelFinder server interfaces by rahul2393 · Pull Request #4293 · googleapis/java-spanner

@rahul2393 requested review from a team

January 8, 2026 05:55

gemini-code-assist[bot]

This commit adds the server abstraction interfaces for location-aware
routing:

- ChannelFinderServer: Interface representing a Spanner server endpoint
  with address, health check, and channel access
- ChannelFinderServerFactory: Factory interface for creating and caching
  server connections
- GrpcChannelFinderServerFactory: gRPC implementation that creates and
  manages gRPC channels for different server endpoints

These interfaces enable the client to maintain connections to multiple
Spanner servers and route requests directly to the appropriate server
based on key location information.

This is part of the experimental location-aware routing for improved
latency.

@rahul2393

@rahul2393

olavloite

@rahul2393

olavloite

@rahul2393 rahul2393 deleted the feat/channel-finder-interfaces branch

January 27, 2026 08:25