redis

Write to Redis in-memory key-value store

Field NameDescriptionTypeDefault
uriRedis address to write tostringredis://localhost/
input-fieldAn event field from where data is to be readfield-
set--

uri

Redis address to write to

Type: string

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

???

Field NameDescriptionTypeDefault
listWrite to Redis liststring-
hash-valueWrite event to a Redis hash(key,field) pair-
hashWrite to a Redis hash, without overwriting same-named field, just mergingstring-
publishWrite to a Redis channel, which allows fan-outstring-

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: (key,field) pair

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

publish

Write to a Redis channel, which allows fan-out

Type: string

Example

action:

redis:
  set:
    publish: some-channel