Google Cloud Spanner
Load event data into Google Cloud Spanner for globally distributed, strongly consistent relational database storage.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | The Google Cloud project ID that contains the Spanner instance. |
instance_id | string | Yes | The Spanner instance ID. |
database_id | string | Yes | The Spanner database ID. |
table_name | string | Yes | The target table name to insert rows into. |
service_account_json | secret | Yes | The full JSON key file content for a GCP service account with Spanner Database User permissions. |
Quick Setup
- Navigate to Integrations in the sidebar.
- Open the Integration Library tab.
- Find Google Cloud Spanner or filter by Cloud Storage.
- Click Install, select a variant if available, and fill in the required fields.
- Click Install Integration to create the integration with a ready-to-use default configuration.
API Setup
curl -X POST http://localhost:8084/v1/admin/integration-catalog/google_spanner/install \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Google Cloud Spanner",
"variant": "default",
"config": {
"project_id": "my-gcp-project",
"instance_id": "my-spanner-instance",
"database_id": "events_db",
"table_name": "events"
},
"delivery_mode": "server_side"
}'Delivery
Events are delivered server-side from your Datafly Signal infrastructure directly to Google Cloud Spanner. No client-side scripts are loaded for this integration.
Visit Google Cloud Spanner documentation for full API documentation and credential setup instructions.