redis
Write to Redis in-memory key-value store
Field Name | Description | Type | Default |
---|---|---|---|
uri | Redis address to write to | uri | redis://localhost/ |
input-field | An event field from where data is to be read | field | - |
set | Set a value on a redis server | RedisOutOp | - |
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 Name | Description | Type | Default |
---|---|---|---|
publish | Write to a Redis channel, which allows fan-out | string | - |
list | Write to Redis list | string | - |
hash-value | Write event to a Redis hash | array of two strings | - |
hash | Write to a Redis hash, without overwriting same-named field, just merging | string | - |
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