Skip to main content
Version: 2.0

Redis Nodes

Redis is an in-memory data store widely used for caching, real-time messaging, and fast data operations. MaestroHub provides Command and Publish nodes so you can execute data operations and broadcast Pub/Sub messages within your pipelines.

Configuration Quick Reference

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.
Redis Command node configuration

Redis Command Node

Redis Command Node

Execute any Redis command with dynamic arguments for key-value operations, hash manipulation, list management, and more.

Supported Function Types:

Function NamePurposeCommon Use Cases
CommandExecute arbitrary Redis commands (GET, SET, HSET, LPUSH, ZADD, DEL, EXPIRE, etc.) with dynamic argumentsSensor data caching, state management, counter operations, key-value lookups

How It Works

When the pipeline executes, the Command node:

  1. Connects to the Redis server using the selected connection profile
  2. Executes the configured Redis command with the provided arguments
  3. Returns the command result to downstream nodes
  4. Supports template parameters in arguments for dynamic values at execution time

Configuration

FieldWhat you chooseDetails
ConnectionRedis connection profileSelect a pre-configured Redis connection from your connection library
FunctionCommand functionChoose a Redis Command function that defines the command and arguments
Function ParametersCommand argumentsConfigure dynamic argument values using expressions or constants

For detailed function configuration options including command examples and argument formatting, see the Redis Command Function documentation.


Redis Publish node configuration

Redis Publish Node

Redis Publish Node

Publish messages to Redis Pub/Sub channels for real-time event broadcasting to all subscribers.

Supported Function Types:

Function NamePurposeCommon Use Cases
PublishSend messages to Redis Pub/Sub channels in real-timeEvent broadcasting, inter-service messaging, live notifications, pipeline-to-pipeline communication

How It Works

When the pipeline executes, the Publish node:

  1. Connects to the Redis server using the selected connection profile
  2. Publishes the configured message to the specified Pub/Sub channel
  3. Returns the number of subscribers that received the message
  4. Supports template parameters in the message payload for dynamic content

Configuration

FieldWhat you chooseDetails
ConnectionRedis connection profileSelect a pre-configured Redis connection from your connection library
FunctionPublish functionChoose a Redis Publish function that defines the channel and message template
Function ParametersMessage valuesConfigure dynamic message content using expressions or constants

For detailed function configuration options including channel naming patterns and message formatting, see the Redis Publish Function documentation.

Looking for event-driven pipeline triggers?

If you want to automatically start a pipeline when Redis Pub/Sub messages arrive (rather than publish within an already-running pipeline), use the Redis Trigger Node instead.