Google Cloud Spanner

Load event data into Google Cloud Spanner for globally distributed, strongly consistent relational database storage.

Configuration

FieldTypeRequiredDescription
project_idstringYesThe Google Cloud project ID that contains the Spanner instance.
instance_idstringYesThe Spanner instance ID.
database_idstringYesThe Spanner database ID.
table_namestringYesThe target table name to insert rows into.
service_account_jsonsecretYesThe full JSON key file content for a GCP service account with Spanner Database User permissions.

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find Google Cloud Spanner or filter by Cloud Storage.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. 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.