Currently supported connector type:
postgresql.ardent connector preflight
Validate a Postgres source before creating a connector:- connection and authentication
- whether the URL points at a writer, not a read replica
- logical replication settings
- replication slot and WAL sender capacity
wal2jsonplugin availability- table-read permissions and Ardent metadata-schema permissions
- whether this server is already connected to Ardent
| Option | Description |
|---|---|
--schemas <list> | Comma-separated schemas to check, for example public,billing |
--byoc | Route preflight through your customer-owned Ardent environment |
--environment-id <id> | Environment to use for BYOC/private-network preflight |
--private-link-id <id> | Private connection to use. Required when the environment has active private links |
Example output
Example output
ardent connector create
Create a connector after preflight passes:?, &, #, !, $, parentheses, or spaces inside passwords. Single quotes keep your shell from interpreting those characters.
| Option | Description |
|---|---|
-n, --name <name> | Friendly connector name |
--byoc | Create the connector in a customer-owned Ardent environment |
--environment-id <id> | Environment for BYOC/private-network connectors |
--private-link-id <id> | Private connection to use for connector traffic |
--replica-identity-decisions <path> | JSON file with table-level replica identity decisions |
--accept-replica-identity-defaults | Non-interactively accept current/default decisions. Undecided tables are excluded |
Example output
Example output
Replica identity decisions
Some tables cannot safely replicate UPDATE or DELETE events unless Postgres can identify the affected row. If Ardent finds tables without a primary key, valid unique NOT NULL index, orREPLICA IDENTITY FULL, the CLI asks what to do.
For non-interactive flows, pass a complete decision file:
| Value | Meaning |
|---|---|
exclude | Do not replicate this table yet |
add_pk | You will add a primary key or valid unique key on source before retrying |
replica_identity_full | Opt into REPLICA IDENTITY FULL for this table |
ardent connector list
List all connectors in the current project:*. ● means the connector is ready to branch from; ○ means it is not. Warnings appear under the connector name.
Example output
Example output
Connectors:
* ● prod-db
postgresql
○ staging-db
postgresql
ardent connector switch
Switch the active connector without changing projects:Example output
Example output
ardent connector retry-setup
Recover setup for a connector that is still pending, failed source checks, or became unhealthy. The command preserves the existing connector row, credentials, and recovery handles; do not delete and recreate a connector just to retry setup.retry-setup is still safe to run. Ardent reuses the active server-side setup operation instead of starting a duplicate. In connector status output, validating means source validation or setup is already in progress. If the connector is already validating and a replica-identity decision is still required, the CLI exits with code 1 and prints that decisions cannot be changed while setup is already in progress; wait for the current setup attempt to finish, then retry if the connector still shows setup pending.
If the original setup needed replica identity decisions, pass the same JSON file when retrying:
ardent connector update
Update connector configuration. For example, omit selected source extensions from future branches:ardent connector delete
Delete a connector:--force only when you intentionally want to skip that wait.
Example output
Example output