Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spanner): add emulator support #14

Merged
merged 8 commits into from
Feb 19, 2020

Conversation

larkee
Copy link
Contributor

@larkee larkee commented Feb 5, 2020

Add support for emulators.

To use an emulator, set the environment flag to the gRPC server host:
e.g. $ export SPANNER_EMULATOR_HOST=localhost:9010

Avoid using http schemes in the emulator host as it can cause the gRPC DNS resolver to endlessly attempt to resolve.

Closes #7

@larkee larkee requested a review from skuruppu February 5, 2020 05:12
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 5, 2020
@larkee larkee added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 5, 2020
@larkee larkee removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 7, 2020
@larkee larkee merged commit b315593 into googleapis:master Feb 19, 2020
@larkee larkee deleted the spanner-em-host branch February 19, 2020 03:29
@larkee larkee restored the spanner-em-host branch February 19, 2020 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spanner: Add support for emulators.
3 participants