connector
CockroachDB logo

CockroachDB

Distributed SQL database, Postgres-compatible wire protocol.

Connection fields

FieldRequiredDescription
hostYesHostname or IP address of the CockroachDB node/load balancer.
portNoDefaults to 26257.
userYesUsername to authenticate with.
passwordNoPassword for user.
dbnameYesDatabase name to connect to.
sslmodeNoOne of "disable", "prefer" (default), or "require".

CockroachDB speaks the Postgres wire protocol, so this connector is the Postgres connector registered under a different type name and default port — CockroachDB-specific features (follower reads, etc.) aren't specially handled.

Example configuration

{
  "host": "cockroach.internal.example.com",
  "port": 26257,
  "user": "arcodash_reader",
  "password": "••••••••",
  "dbname": "analytics",
  "sslmode": "require"
}