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.
The Bigtable-emulator depends on google-cloud-cpp (which the build
tools retrieve and build automatically) and the abseil
library. Other dependencies such as GRPC are provided by
google-cloud-cpp.
Building the Bigtable emulator requires bazel.
bazel build //...bazel test //...bazel build --config clang-tidy //...bigtable-emulator -p <port>It's a good idea to set home ($HOME/.bazelrc on Unixes) or system bazelrc
and enable compilation cache there with this line:
build --disk_cache=~/.cache/bazel/disk-cache
Note that the cache directory grows indefinitely.
# On bash you neet to enable globstar with `shopt -s globstar` first
clang-format -i -style=file -assume-filename=.clang-format **/*.cc **/*.hIf you need to generate compile_commands.json for your tooling, run:
bazel run --config=compile-commandsSee 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.