Skip to content

pibuxd/bigtable-emulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single node, Memory Only Emulator for Google Bigtable

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

Building the Bigtable emulator requires bazel.

cd bigtable-emulator
bazel build "..."

Running the Unit Tests

bazel test "..."

Running the Emulator

bazel run :emulator -- --host=127.0.0.1 --port=8888

or just

bazel run :emulator

Connecting to the Emulator

Install CLI tool - cbt

Create ~/.cbtrc file. Example:

project = projekcik
instance = instancyjka
creds = whatever

Set env variable. Example:

export BIGTABLE_EMULATOR_HOST=localhost:8888

Using RocksDB

Example in server.cc

Contributing changes

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.

Licensing

Apache 2.0; see LICENSE for details.

About

A single node (for now memory storage only) emulator for Google's Bigtable

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.3%
  • Starlark 7.8%
  • Python 1.9%