Skip to main content
The Debezium Cloud Spanner Source connector streams transactional change events from a Google Cloud Spanner database into Kafka topics.
This connector is available as a built-in connector on StreamNative Cloud.

Prerequisites

  • Google Cloud project with a provisioned Spanner instance and database
  • Service account key with spanner.databaseReader and monitoring.viewer roles
  • Enable the Cloud Spanner change streams API in the target project

Quick Start

  1. Setup the kcctl client: doc
  2. Create a JSON file similar to the following:
    sn.passthrough.bootstrapServer.fields and sn.passthrough.kafka.client.field.prefixes are required to make StreamNative Cloud automatically configure the internal Kafka client settings for the connector.
    You shouldn’t change these properties unless you want to override the default behavior.
  3. Deploy the connector:

Configuration

The Debezium Cloud Spanner Source connector accepts the following common options: Refer to the official Debezium Cloud Spanner documentation for a complete property reference and advanced deployment guidance.