Categorygithub.com/conduitio-labs/conduit-connector-spanner
modulepackage
0.0.0-20250124160120-350a8dc0532c
Repository: https://github.com/conduitio-labs/conduit-connector-spanner.git
Documentation: pkg.go.dev

# README

Conduit Connector for MySQL

Conduit connector for Google Spanner.

How to build?

Run make build to build the connector.

Testing

Run make test to run all tests.

The Docker compose file at test/docker-compose.yml can be used to run the required resource locally. While the gcloud cli util is not needed to run the tests, it might be useful to debug the emulator state. Here's an example command to run custom SQL:

gcloud spanner databases execute-sql test-database \
    --instance=test-instance \
    --project=test-project \
    --sql="
        SELECT *
        FROM singers
    "

Source

A source connector pulls data from an external resource and pushes it to downstream resources via Conduit.

Snapshot mode

Snapshot mode is the first stage of the source sync process. It reads all rows from the configured tables as record snapshots.

In snapshot mode, the record payload consists of opencdc.StructuredData, with each key being a column and each value being that column's value.

Change Data Capture mode

(planned)

Configuration

namedescriptionrequireddefault value
databaseThe name of the database to use. A valid database name has the form projects/PROJECT_ID/instances/INSTANCE_ID/databases/DATABASE_IDtrue
tablesThe list of tables to pull data fromtrue
endpointThe URL for endpoint override - testing/dry-run onlyfalse

Destination

(Planned)

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Specification returns the connector's specification.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Connector combines all constructors for each plugin in one struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author