4

Trying to connect to Cloud Bigtable emulator from localhost. Saw couple of posts on how to connect to localhost Bigtable emulator with Java. There is no documentation that specifies how to do so with Node.js.

@google-cloud/bigtable client needs instance name while creating a connection. What should that be in case of localhost? Also what should be the project name?

Misha Brukman
  • 10,866
  • 4
  • 54
  • 71

1 Answers1

1

Per the Using the Cloud Bigtable Emulator documentation:

The emulator does not provide administrative APIs to create or manage instances and clusters. After the emulator starts up, you can connect to it using any project and instance name to create tables and read or write data.

Additionally, the Node.js Cloud Bigtable client supports the BIGTABLE_EMULATOR_HOST environment flag, which is documented in the Using the Emulator section.

Misha Brukman
  • 10,866
  • 4
  • 54
  • 71
Dan
  • 165
  • 7