Redis
The Redis connector can be used as both an input connector and an output connector.
Connection settings
| Setting | Description |
|---|---|
| Endpoints | One or more Redis endpoints in host:port format. Multiple endpoints must be comma-separated. |
| Username | Optional Redis ACL username. |
| Password | Optional Redis password. |
| SSL | Enables TLS/SSL encryption. |
| Database | Redis logical database index used for key operations. |
| Connect Timeout (ms) | Timeout for establishing Redis connections. |
| Sync Timeout (ms) | Timeout for Redis commands such as GET, SET, and SUBSCRIBE. |
Adding properties
Redis uses the shared Topic field to represent either:
- a Redis key for GET/SET behavior
- a Redis channel/pattern for Pub/Sub behavior
Common property fields are:
| Property field | Description |
|---|---|
| Name | Display name of the property. |
| Topic | Redis key, channel, or pattern. |
| Type | Reniway property type. |
| Direction | Input or output. |
| Polling Interval | Optional for input properties when using GET-based polling. |
Input modes
Input properties support two modes:
Subscribe / PubSub: subscribe to a Redis channel or pattern and update the property when a message is receivedPoll / GET: poll a Redis key at a fixed interval
Pattern-based topics that use * or ? can only be used in subscribe mode.
Output behavior
Output properties write values to Redis with SET using the configured key.
Notes
- Polled reads support Redis string, list, and set values.
- For input polling, keep the interval at or above
200 ms.