This is a single-node, non-persistent emulator for Google's Bigtable.
It should pass all the integration tests in Google's C++ client repository (google-cloud-cpp), except those that must run against production Bigtable.
Building the Bigtable emulator requires bazel.
cd bigtable-emulator
bazel build "..."bazel test "..."bazel run :emulator -- --host=127.0.0.1 --port=8888or just
bazel run :emulatorInstall CLI tool - cbt
Create ~/.cbtrc file. Example:
project = projekcik
instance = instancyjka
creds = whatever
Set env variable. Example:
export BIGTABLE_EMULATOR_HOST=localhost:8888
Example in server.cc
See CONTRIBUTING.md for details on how to contribute to
this project, including how to build and test your changes as well as how to
properly format your code.
Apache 2.0; see LICENSE for details.