Skip to main content

Redis

The Redis connector can be used as both an input connector and an output connector.

Connection settings

SettingDescription
EndpointsOne or more Redis endpoints in host:port format. Multiple endpoints must be comma-separated.
UsernameOptional Redis ACL username.
PasswordOptional Redis password.
SSLEnables TLS/SSL encryption.
DatabaseRedis 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 fieldDescription
NameDisplay name of the property.
TopicRedis key, channel, or pattern.
TypeReniway property type.
DirectionInput or output.
Polling IntervalOptional 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 received
  • Poll / 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.