Skip to content

Redis

Publish events to Redis Pub/Sub or append them to Redis Streams.

Messaging binary json raw

output:
redis: {}
JSON
{
"output": {
"redis": {}
}
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Field Type Required Description
publish Publish
stream Stream

Field Type Required Description
count number (integer) The number of retry attempts. If unspecified, retries will continue indefinitely.
Examples: 42, 1.2e-10
pause duration (string) How long to pause before re-trying.
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)
Field Type Required Description
address url (string) ✅ Redis endpoint URI (for example redis://localhost:6379/0 or rediss://cache:6380/0).
Examples: https://example.com/path
username ✓ string Optional username override when the URI does not embed credentials.
password ✓ string Optional password override when the URI does not embed credentials.
database number (integer) Optional database index override when the URI does not select a database.
Examples: 42, 1.2e-10
retry Retry Retry policy for publish failures.
channel string Static Redis channel used when dynamic selectors are absent.
channel-field field (string) Event field containing the target Redis channel.
Examples: data_field
channel-pointer json-pointer (string) JSON pointer resolving to the target Redis channel.
payload-mode Payload Mode Controls how the event is serialized before PUBLISH.
Default: auto
Allowed values: auto, json, raw, binary

Field Type Required Description
count number (integer) The number of retry attempts. If unspecified, retries will continue indefinitely.
Examples: 42, 1.2e-10
pause duration (string) How long to pause before re-trying.
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)
Field Type Required Description
address url (string) ✅ Redis endpoint URI (for example redis://localhost:6379/0 or rediss://cache:6380/0).
Examples: https://example.com/path
username ✓ string Optional username override when the URI does not embed credentials.
password ✓ string Optional password override when the URI does not embed credentials.
database number (integer) Optional database index override when the URI does not select a database.
Examples: 42, 1.2e-10
retry Retry Retry policy for stream append failures.
stream string Static Redis stream key used when dynamic selectors are absent.
stream-field field (string) Event field containing the target Redis stream key.
Examples: data_field
stream-pointer json-pointer (string) JSON pointer resolving to the target Redis stream key.
payload-mode Payload Mode Controls how the event is serialized before XADD.
Default: auto
Allowed values: auto, json, raw, binary
payload-field field (string) Stream field name used to store the logical payload.
Default: payload
Examples: data_field
entry-id string Entry id passed to XADD (* means auto-generated by Redis).
Default: *
maxlen number (integer) Optional MAXLEN trim hint for stream appends.
Examples: 42, 1.2e-10
approximate-maxlen ✓ boolean (bool) Whether MAXLEN should use approximate trimming.
Default: false

Value Aliases Name Description
auto auto
json json
raw raw
binary binary

Value Aliases Name Description
auto auto
json json
raw raw
binary binary