You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/s3-external.md
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,21 @@ SETTINGS type='s3',
94
94
data_format='RawBLOB';
95
95
```
96
96
97
+
#### Read from a GCS bucket
98
+
To read data from Google Cloud Storage, please follow [the guide](https://cloud.google.com/storage/docs/authentication/hmackeys) to generate HMAC keys and use them as the access key and secret key. You don't need to set the `region` or `bucket`. Put those information in the `endpoint` setting.
@@ -122,15 +137,15 @@ The `config_file` setting is available since Timeplus Enterprise 2.7. You can sp
122
137
Please follow the example in [Kafka External Stream](/proton-kafka#config_file).
123
138
124
139
#### region
125
-
The region where the S3 bucket is located, such as `us-west-1`.
140
+
The region where the S3 bucket is located, such as `us-west-1`. Optional for GCS.
126
141
127
142
#### bucket
128
-
The name of the S3 bucket.
143
+
The name of the S3 bucket. Optional for GCS.
129
144
130
145
#### endpoint
131
146
The endpoint of the S3-compatible object storage system. It's optional. If it's missing, Timeplus will use the default endpoint for the region.
132
147
133
-
For example, if you have a minio running locally using the default ports. Then you should use `endpoint = 'http://localhost:9000'` to connect to the minio service.
148
+
For example, if you have a minio running locally using the default ports. Then you should use `endpoint = 'http://localhost:9000'` to connect to the minio service. If you are connecting to Google Cloud Storage, set the endpoint to `'https://storage.googleapis.com/<bucket_name>'`.
134
149
135
150
#### data_format
136
151
The `data_format` is optional. When it's missing, Timeplus will try to infer the data format from the file extension in `read_from` or `write_to`.
0 commit comments