Cassandra¶
The Cassandra connector is a Palantir-provided driver for Cassandra.
To create a new Cassandra source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Cassandra-specific configuration and networking. For the complete property reference, see the official Cassandra driver documentation ↗.
Configuration¶
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AuthScheme ↗ |
Mandatory | The scheme used for authentication. Accepted entries are Basic, DSE, Kerberos, and LDAP. | Basic |
Database ↗ |
Mandatory | The name of the Cassandra keyspace. | — |
Password ↗ |
Mandatory | Specifies the password of the authenticating user account. | — |
Port ↗ |
Mandatory | The port for the Cassandra database. | 9042 |
Server ↗ |
Mandatory | The host name or IP address of the server hosting the Cassandra database. | — |
User ↗ |
Mandatory | Specifies the user ID of the authenticating Cassandra user account. | — |
UseSSL ↗ |
Mandatory | This field sets whether SSL is enabled. | TRUE |
ConsistencyLevel ↗ |
Recommended | The consistency level determines how many of the replicas of the data you are interacting with need to respond for the query to be considered a success. | ONE |
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 UseSSH=FALSE (default), Server and Port connection properties (default: localhost:9042) |
| \ |
If AuthScheme=LDAP (default Port=389) |
| \ |
If UseSSH=TRUE (default Port=22) |
| \ |
If AuthScheme=Kerberos |
| \ |
If AuthScheme=Kerberos and Kerberos topology uses multiple realms |
中文翻译¶
Cassandra¶
Cassandra连接器是Palantir提供的用于Cassandra的驱动程序。
要创建新的Cassandra数据源,请遵循Palantir提供驱动程序的标准设置流程,然后使用以下各节进行Cassandra特定的配置和网络设置。有关完整的属性参考,请参阅官方Cassandra驱动程序文档 ↗。
配置¶
以下属性为必填或推荐项。
| 属性 | 是否必填 | 描述 | 默认值 |
|---|---|---|---|
AuthScheme ↗ |
必填 | 用于认证的方案。可接受的值为Basic、DSE、Kerberos和LDAP。 | Basic |
Database ↗ |
必填 | Cassandra键空间(keyspace)的名称。 | — |
Password ↗ |
必填 | 指定认证用户账户的密码。 | — |
Port ↗ |
必填 | Cassandra数据库的端口。 | 9042 |
Server ↗ |
必填 | 托管Cassandra数据库服务器的主机名或IP地址。 | — |
User ↗ |
必填 | 指定进行认证的Cassandra用户账户的用户ID。 | — |
UseSSL ↗ |
必填 | 此字段设置是否启用SSL。 | TRUE |
ConsistencyLevel ↗ |
推荐 | 一致性级别(consistency level)决定了您所交互数据的副本中需要有多少个响应,查询才能被视为成功。 | ONE |
网络配置¶
下表列出了数据源为成功运行而需要能够访问的域名。
对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法从Foundry直接访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问列出的域名。有关详细信息,请参阅使用代理作为代理服务器。
| 域名 | 是否必填 |
|---|---|
| \ |
如果UseSSH=FALSE(默认值),则为Server和Port连接属性(默认值:localhost:9042) |
| \ |
如果AuthScheme=LDAP(默认Port=389) |
| \ |
如果UseSSH=TRUE(默认Port=22) |
| \ |
如果AuthScheme=Kerberos |
| \ |
如果AuthScheme=Kerberos且Kerberos拓扑使用多个领域(realm) |