Object storages
Sink data to Google Cloud Storage
This guide describes how to sink data from RisingWave to Google Cloud Storage sink using GCS connector in RisingWave.
Google Cloud Storage is a RESTful online file storage web service for storing and accessing data on Google Cloud Platform infrastructure.
Syntax
Parameters
Parameter names | Description |
---|---|
connector | Required. Support the GCS connector only. |
gcs.bucket_name | Required. The name of the bucket where the sink data is stored in. |
gcs.credential | Required. Base64-encoded credential key obtained from the GCS service account key JSON file. To get this JSON file, refer to the guides of GCS documentation.
|
gcs.service_account | Optional. The service account of the GCS sink. If gcs.credential or ADC is not specified, the credentials will be derived from the service account. |
gcs.path | Required. The directory where the sink file is located. |
type | Required. Defines the type of the sink. Options include append-only or upsert . |
Example
For more information about encode Parquet
or JSON
, see Sink data in parquet or json encode.
Was this page helpful?