Using the Cloud Bigtable HBase Client for Java with Maven

The Cloud Bigtable HBase client for Java is available in the Maven Repository, making it easy to use Cloud Bigtable in an Apache Maven project.

Overview of Maven artifacts

The Cloud Bigtable HBase client for Java includes the following Maven artifacts that you can use in your project. All of the artifacts are based on HBase 1.x:

The remainder of these instructions assumes that you are using bigtable-hbase-1.x.

Adding a Cloud Bigtable artifact to a project

To add a Cloud Bigtable artifact to a Maven project, simply add the artifact to the <dependencies> section of your pom.xml file, along with the artifact for netty-tcnative-boringssl-static.

To add the required artifacts:

<dependency>
  <groupId>com.google.cloud.bigtable</groupId>
  <artifactId>bigtable-hbase-1.x</artifactId>
  <version>1.0.0-pre1</version>
</dependency>
<dependency>
  <groupId>io.netty</groupId>
  <artifactId>netty-tcnative-boringssl-static</artifactId>
  <version>1.1.33.Fork26</version>
</dependency>

What's next

Learn how to connect to Cloud Bigtable.

Send feedback about...

Cloud Bigtable Documentation