Commit dafbca2
authored
perf(bigtable): use passthrough with emulator endpoint (#13739)
Fixes #10965
This change updates the Bigtable client to use the `passthrough:///`
scheme when connecting to the emulator via `BIGTABLE_EMULATOR_HOST`.
This ensures consistent behavior with other Google Cloud Go clients
(e.g., Spanner #10947)
and avoids potential gRPC name resolution issues by forcing the
passthrough resolver. It handles `BIGTABLE_EMULATOR_HOST` values with or
without an existing scheme (e.g. `localhost:9000` or
`http://localhost:9000`).1 parent 7d9d00c commit dafbca2
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments