Updated on 2024-11-06 GMT+08:00

Link to Redis

Description

By creating a Redis link, you can extract data from or load data to the Redis server.

Sample Link

{
    "links": [
        {
            "link-config-values": {
                "configs": [
                    {
                        "inputs": [
                            {
                                "name": "linkConfig.deploymentMode",
                                "value": "Cluster"
                            },
                            {
                                "name": "linkConfig.serverlist",
                                "value": "10.120.84.149:7300"
                            },
                            {
                                "name": "linkConfig.password",
                                "value": "Add password here"
                            },
                            {
                                "name": "linkConfig.dbIndex",
                                "value": "0"
                            }
                        ],
                        "name": "linkConfig"
                    }
                ]
            },
            "name": "redis_link",
            "connector-name": "redis-connector"
        }
    ]
}

Link Parameters

Parameter

Mandatory

Type

Description

linkConfig.deploymentMode

Yes

Enumeration

Redis deployment mode. The options are as follows:

  • Single: single-node deployment
  • Cluster: cluster deployment

linkConfig.serverlist

Yes

String

Server IP address list in host1:port1;host2:port2 format

linkConfig.password

Yes

String

Password for logging in to the Redis server

linkConfig.dbIndex

Yes

String

Redis database index