跳转至

CockroachDB

The CockroachDB connector is a Palantir-provided driver for CockroachDB.

To create a new CockroachDB source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for CockroachDB-specific configuration and networking. For the complete property reference, see the official CockroachDB driver documentation ↗.

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
Database Mandatory The name of the Cockroach database.
Password Mandatory Specifies the password of the authenticating user account.
Port Mandatory The port number of the CockroachDB server. 26257
Server Mandatory The host name or IP address of the server. localhost
User Mandatory Specifies the user ID of the authenticating CockroachDB user account.
UseSSL Mandatory Whether SSL is enabled. TRUE
Cluster Recommended The name of the CockroachDB cluster.

Networking

The table below lists the domains that the source needs to be able to access in order to successfully run.

For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.

Domain Required
\:\ Always. Server and Port connection properties (default: localhost:26257)

中文翻译

CockroachDB

CockroachDB 连接器是 Palantir 提供的用于 CockroachDB 的驱动程序

要创建新的 CockroachDB 数据源,请遵循 Palantir 提供驱动程序的标准设置流程,然后使用以下各节进行 CockroachDB 特定的配置和网络设置。有关完整的属性参考,请参阅官方 CockroachDB 驱动程序文档 ↗

配置

以下属性为必填或推荐项。

属性 是否必填 描述 默认值
Database 必填 Cockroach 数据库的名称。
Password 必填 指定认证用户账户的密码。
Port 必填 CockroachDB 服务器的端口号。 26257
Server 必填 服务器的主机名或 IP 地址。 localhost
User 必填 指定认证 CockroachDB 用户账户的用户 ID。
UseSSL 必填 是否启用 SSL。 TRUE
Cluster 推荐 CockroachDB 集群的名称。

网络配置

下表列出了数据源为成功运行而需要能够访问的域名。

对于每个域名,请添加相应的出站策略。如果数据源部署在本地且无法从 Foundry 直接访问,请改用代理出站策略;代理主机本身也必须能够访问列出的域名。有关详细信息,请参阅使用代理作为代理

域名 是否必填
\<服务器>:\<端口> 始终必填。服务器和端口连接属性(默认值:localhost:26257)