little_bigtable

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

Little Bigtable

CI Status

A local emulator for Cloud Bigtable with persistance to a sqlite3 backend.

The Cloud SDK provided cbtemulator is in-memory and does not support persistance which limits it's applicability. This project is a fork of cbtemulator from google-cloud-go/bigtable/bttest

cbtemulator "little" Bigtable Bigtable
Storage In-Memory sqlite3 Distributed GFS
Type Emulator Emulator Managed Production Datastore
Scaling Single process Single process Scalable multi-node backend
GC async GC per-row GC at read time

Usage

Usage of ./little_bigtable:
  -db-file string
      path to data file (default "little_bigtable.db")
  -host string
      the address to bind to on the local machine (default "localhost")
  -port int
      the port number to bind to on the local machine (default 9000)
  -version
      show version

In the environment for your application, set the BIGTABLE_EMULATOR_HOST environment variable to the host and port where little_bigtable is running. This environment variable is automatically detected by the Bigtable SDK or the cbt CLI. For example:

$ export BIGTABLE_EMULATOR_HOST="127.0.0.1:9000"
$ ./run_my_app

Limitations

Some filters are not implemented or have partial support. See cbtemulator docs

Documentation

Overview

little_bigtable launches the sqlite3 backed Bigtable emulator on the given address.

Directories

Path Synopsis
Package bttest contains test helpers for working with the bigtable package.
Package bttest contains test helpers for working with the bigtable package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL