First time creating a connector? Read this first.
Requirements
You will need:- A Redis database, for example in Redis Cloud.
- The target database’s hostname and port number. Create a database in Redis Cloud.
- The username and password for the target database. Get the username and password in Redis Cloud.
- The database number for the target database. Redis databases are typically numbered from 0 to 15, with the default database number typically being 0.
Examples
To create a Redis destination connector, see the following examples. For more information on working with destination connectors using the Unstructured API, see Destination endpoints.Configuration settings
Replace the preceding placeholders as follows:string
required
A unique name for this connector.
string
For URI authentication, the connection URI for the target database user and password, hostname, and port number. Use the format of
redis://<username>:<password>@<hostname>:<port-number>. If SSL encryption is enabled for the database, use rediss:// instead of redis://.string
The target database’s hostname. Required for password authentication.
integer
default:"6379"
For password authentication, the database’s port number.
string
The name of the database user (not the logged in user). Required for password authentication.
string
The database user’s password. Required for password authentication.
integer
default:"0"
The number (index) for the target database.
string
default:"\"\""
A string to prepend to each element’s
element_id. This is useful for distinguishing between different data sets in the same Redis instance.integer
default:"100"
The maximum number of records to upload in a single batch.
boolean
default:"true"
Set to
true to enable SSL encryption for the connection. Set to true only if SSL is already set up and enabled for the target database.
