跳转至

Redis

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

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

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
AuthScheme Mandatory The authentication mechanism that the provider will use to authenticate with Redis. Password
Server Mandatory The host name or IP address of the server hosting the Redis instance. {serverAddress}
UseSSL Mandatory This field sets whether SSL is enabled. TRUE
EnableCluster Recommended This field sets whether the Redis Cluster Mode is enabled. FALSE
LogicalDatabase Recommended The index of the Redis Logical Database. 0
Password Recommended The password used to authenticate with Redis.
Port Recommended The port for the Redis database. 6379
ReplicaSet Recommended This property allows you to specify multiple servers in addition to the one configured in Server and Port . Specify both a server name and port; separate servers with a comma.

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
\:\ Server and Port connection properties; default Port=6379
\:\ If UseSSH=TRUE, default SSHPort=22

中文翻译

Redis

Redis 连接器是一个用于 Redis 的 Palantir 提供的驱动程序

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

配置

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

属性 是否必填 描述 默认值
AuthScheme 必填 提供程序用于向 Redis 进行身份验证的认证机制。 Password
Server 必填 托管 Redis 实例的服务器的主机名或 IP 地址。 {serverAddress}
UseSSL 必填 此字段设置是否启用 SSL。 TRUE
EnableCluster 推荐 此字段设置是否启用 Redis 集群模式。 FALSE
LogicalDatabase 推荐 Redis 逻辑数据库的索引。 0
Password 推荐 用于向 Redis 进行身份验证的密码。
Port 推荐 Redis 数据库的端口。 6379
ReplicaSet 推荐 此属性允许您指定除 Server 和 Port 中配置的服务器之外的多个服务器。请同时指定服务器名称和端口;多个服务器之间用逗号分隔。

网络配置

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

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

域名 是否必填
\:\ Server 和 Port 连接属性;默认 Port=6379
\:\ 如果 UseSSH=TRUE,默认 SSHPort=22