Skip to content

Redis Writer ​

Redis Writer plugin is used to write data to Redis database.

Configuration Example ​

This plugin provides the ability to write data to Redis database. For detailed configuration and parameters, please refer to the original Redis Writer documentation.

json
{
  "job": {
    "setting": {
      "speed": {
        "channel": 1,
        "bytes": -1
      }
    },
    "content": {
      "reader": {
        "name": "redisreader",
        "parameter": {
          "connection": [
            {
              "uri": "tcp://127.0.0.1:7003"
            }
          ]
        }
      },
      "writer": {
        "name": "rediswriter",
        "parameter": {
          "connection": {
            "uri": "tcp://127.0.0.1:6379",
            "auth": "123456"
          },
          "redisCluster": false,
          "flushDB": false
        }
      }
    }
  }
}

Parameters ​

This plugin supports writing various data types to Redis with configurable connection and data format options.