rokadepiyush49-rgb commented on issue #35777:
URL: https://github.com/apache/beam/issues/35777#issuecomment-7112662968
mxtymoshyk's repro explains it: `StorageClientImpl` swaps the endpoint but
keeps the default TLS gRPC transport, so DIRECT_READ against the emulator's
plaintext port never gets past the handshake. (The tempLocation part is WAI, as
Abacn said.)
```mermaid
flowchart LR
O[--bigQueryEndpoint emulator] --> S[StorageClientImpl]
S -- today --> T[TLS channel]
T --> H[handshake hangs]
S -. http endpoint .-> P[plaintext channel]
P --> E[(emulator gRPC)]
```
I'd like to make it use a plaintext channel only when the endpoint is
explicitly `http://`, leaving the default TLS path alone, with unit tests on
channel selection. Would you prefer that, or an explicit option like
`--bigQueryStorageUsePlaintext`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]