Connect data

Connectors

The full catalog of source connectors Goni registers, with protocol, modes, status, and auth fields generated from ConnectionKinds().

What this page is

The registry of every source Goni knows how to connect to. One row per kind: protocol, supported ingestion modes, ship status, and the auth fields the UI renders.

You will find:

  • The full connector matrix and what each column means.
  • How auth secrets are stored (AES-256-GCM) and how they behave on read.
  • How to introspect a source’s schema and dry-run a connection.

The connector matrix

Sorted by category, then label, matching the order the UI displays.

KindCategoryModesStatusNotes
aurora-mysqldatabasefull, incrementalreadyAurora MySQL 5.7 / 8.0 wire-compatible; point host at the writer or reader endpoint.
aurora-postgresdatabasefull, incrementalreadyPostgres 11-16 wire-compatible; TLS defaulted to require against Aurora.
redshiftdatabasefull, incrementalreadyPostgres wire on port 5439; SUPER as JSON, VARBYTE / GEOMETRY as binary.
sqlserverdatabasefull, incrementalreadyTDS 7.4+; covers on-prem 2012+, Azure SQL DB / MI, RDS.
cassandradatabasefull, incrementalreadyCQL SELECT in the pipeline SQL field; incremental uses ALLOW FILTERING.
databricksdatabasefull, incrementalreadySQL Warehouse over Cloud Fetch; Personal Access Token today.
azuresqldatabasefull, incrementalreadyRunner always emits encrypt=true; TLS strictness controlled by the enum.
bigquerydatabasefull, incrementalreadyPaginated result reads; STRUCT / ARRAY serialised as JSON.
clickhousedatabasefull, incrementalreadyNative TCP (9000 / 9440) or HTTP (8123 / 8443 / 443) protocol switch. Copies the tables you pick from your ClickHouse into your Goni workspace’s warehouse and only reads from your ClickHouse. The SQL editor accepts only read statements (SELECT, WITH, SHOW, DESCRIBE, EXPLAIN, EXISTS) on this connection, refuses any statement that would change your data, and runs queries in ClickHouse’s read-only mode. We still recommend a read-only database user.
greenplumdatabasefull, incrementalreadyPostgres wire (GP 6 = PG 9.4, GP 7 = PG 12); server-side cursors on coordinator.
mariadbdatabasefull, incrementalreadyMySQL-compatible wire protocol.
mongodatabasefull, incrementalbetaConnection URI + database only. See caveat below.
mysqldatabasefull, incrementalreadyArrow Flight ingestion.
oracledatabasefull, incrementalreadyPure-Go driver, no Instant Client required; identifiers UPPERCASE by default.
postgresdatabasefull, incrementalreadyRuns through ClickHouse’s postgres() table function by default; opt into Arrow Flight ingestion by setting use_flight: "true" in the connection config.
saphanadatabasefull, incrementalreadyDefault port 39015 (multi-tenant); qualify sources as SCHEMA.TABLE.
snowflakedatabasefull, incrementalreadyPassword / SNOWFLAKE_JWT / OAuth; external-browser is scaffolded but not schedulable.
trinodatabasefull, incrementalreadyTrino wire protocol; use source_kind=trino.
verticadatabasefull, incrementalreadyVertica tlsmode vocabulary: disable, require, verify-ca / verify-full.
filefilefullreadyCSV, Parquet, JSON, or Excel upload; schema inferred on upload. See Uploading files.
kafkastreamstreambetaSee streaming caveat below.
pubsubstreamstreambetaNative Google Pub/Sub client; landing zone is ReplacingMergeTree.

The Kind, Modes, and Fields for every connector are declared in Goni’s registry. The UI renders the field form from that registry; the pipelines validator rejects a mode value that is not in a kind’s declared Modes list. If you cannot see something in the matrix, the API will refuse to save a connection using it.

Beta caveats

Beta - Kafka and Google Pub/Sub: persisting a connection and a subscription works; exactly-once semantics for Kafka are not supported and rejected at validate-time. Treat as preview.

Beta - MongoDB: shipped as URI + database only; nested BSON is coerced to JSON strings for downstream JSONExtract*.

Uploading files

For one-shot analysis of a spreadsheet, extract, or export, Goni accepts direct uploads without a database at the other end. From the app, open Connections > New connection > File and drop a .csv, .parquet, .json, or .xlsx file into the picker. The uploader:

  1. Streams the file to Goni over POST /api/files/upload under the caller’s session; only formats declared safe are accepted.
  2. Infers the schema (column names + best-fit types) and shows a preview from POST /api/files/preview so you can rename or retype columns before saving.
  3. Persists a file connection referencing the uploaded artifact; a pipeline against it lands rows in the warehouse the same way a database source would.

Uploads inherit the caller’s allow_save + allow_connections grants. A file uploaded in the app is stored in the caller’s workspace and is deleted with it. A file uploaded with a Personal Access Token is stored under the caller’s email address instead; it is erased when the caller deletes their account or when the account closes (see Deleting your account). Re-uploading over the same connection replaces the file; history is retained through the artifact store.

Auth and secret storage

Every field declared type: "secret" in a kind’s Fields list is encrypted at rest. The scheme:

  • AES-256-GCM with a 32-byte key from GONI_SECRET_KEY.
  • Per-value envelope, prefixed enc:v1: with a fresh 12-byte nonce per encrypt.
  • Empty input round-trips to empty.

Secrets are redacted on read. GET /api/connections/{id} returns the field keys but replaces the value with a masked placeholder for anything the registry declared type: "secret". PUT /api/connections/{id} accepts a partial payload; a field whose value is empty or the placeholder preserves the on-disk value instead of overwriting it. That is what lets the UI render an edit form without materialising credentials in the browser.

The credentials_json, service_account_json, and private_key textareas are also treated as secrets because the secret-field detector widens on names matching credentials, password, or key.

Testing and introspecting

Two dry-run endpoints exercise a connection without persisting a pipeline. They are the fast feedback loop for “does this connection actually work”.

# Ping reachability against a saved connection and stamp its status.
curl -X POST https://your-goni-host/api/connections/{id}/test \
  -H "Authorization: Bearer $GONI_PAT"

# Dry-run a connection form without saving. Used by the "Test" button
# on the connection editor.
curl -X POST https://your-goni-host/api/connections/test-draft \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $GONI_PAT" \
  -d '{
        "kind": "postgres",
        "config": {
          "host": "db.example.com",
          "port": 5432,
          "database": "sales",
          "username": "goni_reader",
          "password": "example-secret",
          "sslmode": "require"
        }
      }'

# Introspect the source system's tables and columns.
curl https://your-goni-host/api/connections/{id}/schema \
  -H "Authorization: Bearer $GONI_PAT"

# Cheaper column-only lookup fired by the IDE schema browser.
curl https://your-goni-host/api/connections/{id}/schema/columns?table=public.orders \
  -H "Authorization: Bearer $GONI_PAT"

Schema introspection requires allow_save + allow_connections for the specific connection id (default-deny RBAC). See Access control for how those grants are shaped.

The full HTTP surface for connection CRUD lives on the REST API reference.

Last updated