跳转至

Couchbase

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

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

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
AuthScheme Mandatory The type of authentication to use when connecting to Couchbase. Basic
ConnectionMode Mandatory Determines how to connect to the Couchbase server. Must be either Direct or Cloud. Cloud
CouchbaseService Mandatory Determines the Couchbase service to connect to. Default is N1QL. Available options are N1QL and Analytics. Analytics
DNSServer Mandatory Determines what DNS server to use when retrieving Couchbase Capella information. 8.8.8.8
Server Mandatory The address of the Couchbase server or servers to which you are connecting. https://couchbase.server
UseSSL Mandatory Whether to negotiate TLS/SSL when connecting to the Couchbase server. TRUE

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
\ If ConnectionMode=Direct (Default); Server connection property. Can be an IP address or HTTP/S URL. Can accept multiple URLs
\ If ConnectionMode=Cloud, DNS Server is used to look up server addresses (default port 53, port can be passed with \:\, but is not required)
\ If ConnectionMode=Direct and CouchbaseServer=N1QL, Port defaults to 18093 for SSL and 8093 when not SSL
\ If ConnectionMode=Direct and CouchbaseServer=Analytics, Port defaults to 18095 w/ SSL and 8095 w/o SSL
\ If ConnectionMode=Direct, Port defaults to 18091 w/ SSL and 8091 w/o SSL

中文翻译

Couchbase

Couchbase 连接器是一个由 Palantir 提供的驱动程序(Palantir-provided driver),用于连接 Couchbase 数据库。

要创建新的 Couchbase 数据源,请遵循 Palantir 提供驱动程序的标准设置流程(standard setup flow),然后参考以下章节进行 Couchbase 特定的配置和网络设置。完整的属性参考,请参见官方 Couchbase 驱动程序文档(Official Couchbase driver documentation)。

配置(Configuration)

以下属性为必填或推荐配置。

属性 是否必填 描述 默认值
AuthScheme 必填 连接 Couchbase 时使用的认证类型。 Basic
ConnectionMode 必填 确定如何连接到 Couchbase 服务器。必须为 Direct 或 Cloud。 Cloud
CouchbaseService 必填 确定要连接的 Couchbase 服务。默认为 N1QL。可选值为 N1QL 和 Analytics。 Analytics
DNSServer 必填 确定检索 Couchbase Capella 信息时使用的 DNS 服务器。 8.8.8.8
Server 必填 您要连接的 Couchbase 服务器地址。 https://couchbase.server
UseSSL 必填 连接 Couchbase 服务器时是否协商 TLS/SSL。 TRUE

网络配置(Networking)

下表列出了数据源成功运行所需访问的域名。

对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法直接从 Foundry 访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问所列出的域名。详情请参见使用代理作为连接方式(using an agent as a proxy)。

域名 是否必需
\ 如果 ConnectionMode=Direct(默认);服务器连接属性。可以是 IP 地址或 HTTP/S URL。可接受多个 URL
\ 如果 ConnectionMode=Cloud,DNS 服务器用于查找服务器地址(默认端口 53,可通过 \:\ 传递端口,但非必需)
\ 如果 ConnectionMode=DirectCouchbaseServer=N1QL,SSL 时端口默认为 18093,非 SSL 时为 8093
\ 如果 ConnectionMode=DirectCouchbaseServer=Analytics,SSL 时端口默认为 18095,非 SSL 时为 8095
\ 如果 ConnectionMode=Direct,SSL 时端口默认为 18091,非 SSL 时为 8091