Current connection form
The current CockroachDB destination form asks for:-
Connection Name -
Host -
Port -
Database -
Username -
Password -
Portdefaults to26257. -
Databasedefaults todefaultdbin the current form. -
Use the builder to set the final
Schema,Table, andWrite mode.
Good first use cases
- distributed SQL read models
- application-facing tables in CockroachDB
- operational marts that should stay close to product infrastructure
Before you connect
- Create a write-capable SQL user for the target cluster and database.
- Confirm the exact cluster endpoint and target database.
- Start with one table that downstream users can validate quickly.
Step by step
- Open Connections and click + New Connection.
- Set the role to Destination and choose CockroachDB.
- Fill the form with real values, for example:
Connection Name:Cockroach ReportingHost:northstar-cluster.aws-us-east-1.cockroachlabs.cloudPort:26257Database:defaultdbUsername:mf_writer
- Click Test Connection and save the connection after the test succeeds.
- In the builder’s Destination panel, configure:
Connection:Cockroach ReportingSchema:analyticsTable:customer_ordersWrite mode:Upsert
- Save the pipeline and run one manual sync before enabling a schedule.
Real-world example
A platform team lands PostgreSQL customer and order summaries into CockroachDB so product services can query a distributed read model without hitting the operational source directly.Troubleshooting
- If the connection test fails, verify the cluster endpoint, port, and SQL credentials.
- If validation fails in the builder, double-check the target schema and table naming.
- Run the first pipeline manually and inspect the destination rows before scheduling automated writes.