Redis
Redis (redis)
Section titled “Redis (redis)”Publish events to Redis Pub/Sub or append them to Redis Streams.
Messaging binary json raw
Minimal example
Section titled “Minimal example”output: redis: {}JSON
{ "output": { "redis": {} }}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
publish |
Publish |
||
stream |
Stream |
Schema
Section titled “Schema”- Publish - Retry Fields
- Publish Fields
- Stream - Retry Fields
- Stream Fields
- Publish - Payload Mode Options
- Stream - Payload Mode Options
Publish - Retry Fields
Section titled “Publish - Retry Fields”| 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) |
Publish Fields
Section titled “Publish Fields”| 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: autoAllowed values: auto, json, raw, binary |
Stream - Retry Fields
Section titled “Stream - Retry Fields”| 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) |
Stream Fields
Section titled “Stream Fields”| 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: autoAllowed values: auto, json, raw, binary |
|
payload-field |
field (string) |
Stream field name used to store the logical payload. Default: payloadExamples: 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 |
Publish - Payload Mode Options
Section titled “Publish - Payload Mode Options”| Value | Aliases | Name | Description |
|---|---|---|---|
auto |
auto | ||
json |
json | ||
raw |
raw | ||
binary |
binary |
Stream - Payload Mode Options
Section titled “Stream - Payload Mode Options”| Value | Aliases | Name | Description |
|---|---|---|---|
auto |
auto | ||
json |
json | ||
raw |
raw | ||
binary |
binary |