Skip to main content

Overview

Prerequisites

General

  • CockroachDB version v1.15.x or later.
  • Allow Zenskar to connect to your CockroachDB host.
Create a dedicated read-only user for Zenskar with access to the tables required for replication. This is optional but strongly recommended for better security, permission control, and auditing. Run the following on your CockroachDB instance:
If you need access across multiple schemas, repeat the grants for each schema.

Set up a CockroachDB data-source connector via Zenskar dashboard

Once the prerequisites are complete, connect CockroachDB as a data source in Zenskar.
  1. Log into your Zenskar dashboard.
  2. In the left side bar, click Usage > Data Sources.
  3. In the top-right corner, click + ADD DATA SOURCE.
  4. On the Add New Data Source page, configure the CockroachDB connector.
  5. Click on the SAVE SOURCE button.

Connector configuration

General configuration

Connector configuration

Data source access mode (read-only)

Zenskar replicates data directly from your CockroachDB databse to Zenskar’s data infrastructure. The data is periodically synced to maintain freshness. This option is:
  • Ideal for small-mid size database (less than 30GB).
  • Ideal for periodical data ingestion.
  • Optimized for quicker invoice generation.