Skip to main content
Version: 3.3.0

redis

Write to Redis in-memory key-value store

Field NameDescriptionTypeDefault
uriRedis address to write touriredis://localhost/
input-fieldAn event field from where data is to be readfield-
setSet a value on a redis serverRedisOutOp-

uri

Redis address to write to

Type: uri

Example

action:

redis:
set:
list: mylist
uri: amqp://localhost/

input-field

An event field from where data is to be read

Otherwise the whole event is written

Type: field

Example

action:

redis:
input-field: some-field
set:
list: mylist

set

Set a value on a redis server

Type: RedisOutOp

Field NameDescriptionTypeDefault
publishWrite to a Redis channel, which allows fan-outstring-
listWrite to Redis liststring-
hash-valueWrite event to a Redis hasharray of two strings-
hashWrite to a Redis hash, without overwriting same-named field, just mergingstring-

publish

Write to a Redis channel, which allows fan-out

Type: string

Example

action:

redis:
set:
publish: some-channel

list

Write to Redis list

Type: string

Example

action:

redis:
set:
list: some-field

hash-value

Write event to a Redis hash

The field can contain event field expansions

Type: array of two strings

Example

action:

redis:
set:
hash-value: [key, field]

hash

Write to a Redis hash, without overwriting same-named field, just merging

Type: string

Example

action:

redis:
set:
hash: some-hash