Output: redis
Write to Redis in-memory key-value store
Field Summary
Field Name | Type | Description | Default |
---|---|---|---|
uri | uri | Redis address to write to | redis://localhost/ |
input-field | field | An event field from where data is to be read | - |
set | RedisOutOp | Set a value on a redis server | - |
Fields
uri
Type: uri
Default: redis://localhost/
Redis address to write to
Example
Pipe Language Snippet:
redis:
set:
list: mylist
uri: amqp://localhost/
input-field
Type: field
An event field from where data is to be read
Otherwise the whole event is written
Example
Pipe Language Snippet:
redis:
input-field: some-field
set:
list: mylist
set
Type: RedisOutOp
Set a value on a redis server
Field Name | Type | Description | Default |
---|---|---|---|
publish | string | Write to a Redis channel, which allows fan-out | - |
list | string | Write to Redis list | - |
hash-value | array of two strings | Write event to a Redis hash | - |
hash | string | Write to a Redis hash, without overwriting same-named field, just merging | - |
publish
Type: string
Write to a Redis channel, which allows fan-out
Example
Pipe Language Snippet:
redis:
set:
publish: some-channel
list
Type: string
Write to Redis list
Example
Pipe Language Snippet:
redis:
set:
list: some-field
hash-value
Type: array of two strings
Write event to a Redis hash
The field can contain event field expansions
Example
Pipe Language Snippet:
redis:
set:
hash-value: [key, field]
hash
Type: string
Write to a Redis hash, without overwriting same-named field, just merging
Example
Pipe Language Snippet:
redis:
set:
hash: some-hash