google bigquery sink Google Big Query Sink

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Send data to a Google Big Query table.

The data must be JSON format to represent an object or an array of objects.

Configuration Options

The following table summarizes the configuration options available for the google-bigquery-sink Kamelet:

Property Name Description Type Default Example

dataset

Big Query Dataset Id

Required The Big Query Dataset ID.

string

projectId

Google Cloud Project Id

Required The Google Cloud Project ID.

string

serviceAccountKey

Service Account Key

Required The service account key to use as credentials for the BigQuery Service. You must encode this value in base64.

binary

table

Big Query Table Id

Required The Big Query Table ID.

string

Dependencies

At runtime, the google-bigquery-sink Kamelet relies upon the presence of the following dependencies:

  • camel:core

  • camel:kamelet

  • camel:google-bigquery

  • camel:jackson

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:timer-source"
      parameters:
        period: 10000
        message: 'test'
      steps:
        - to:
            uri: "kamelet:google-bigquery-sink"

You can now run it directly through the following command

camel run route.yaml