Replication methods

Replication methods for BigQuery #

For realtime and snapshot replication into BigQuery, Replicant supports the following two methods:

Load data with load job method #

The conventional load job method is the default method of loading data into BigQuery partitions and tables. See the sample configurations for snapshot and realtime to understand how to use the load job method.

Load data using the Storage Write API #

This method of replication uses the BigQuery Storage Write API to stream data into BigQuery.

Requirements #

Configuration #

You can use the Storage Write API method by setting the use-write-storage-api parameter to true under the realtime or snapshot section of the Applier configuration file. See the sample configurations for snapshot and realtime to understand how to use the Storage Write API.

Decide which method of replication to use #

The load job method is the conventional method of loading data, while the Storage Write API is the latest streaming API by BigQuery. When choosing between the load job method and the Storage Write API, please consider the advantatages of using the Storage Write API.