This commit is contained in:
Joel Wetzell
2026-05-17 21:12:04 -05:00
parent 69bc31d3f1
commit 8e6cd58006
82 changed files with 642 additions and 450 deletions
+8 -5
View File
@@ -1,21 +1,24 @@
---
title: Get Key/Value
sidebar:
label: Get
order: 1
label: Get
order: 1
---
The `kv.get` processor gets the value associated with a key from a compatible module. The output payload is the value if the key is found.
- **type**: `kv.get`
- **params**:
- **module**: id of the module
- **key**: the key to look up
- **module**: id of the module
- **key**: the key to look up
### Example
This will attempt to get the value for the `counter` key from the module with an id of `redis`
```yaml
- type: kv.get
params:
module: redis
key: counter
```
```
+9 -6
View File
@@ -1,23 +1,26 @@
---
title: Set Key/Value
sidebar:
label: Set
order: 2
label: Set
order: 2
---
The `kv.set` processor sets the value associated with a key from a compatible module. The payload is unchanged so whatever is received by this payload is output unless any errors are encountered.
- **type**: `kv.set`
- **params**:
- **module**: id of the module
- **key**: the key to look up
- **value**: the value to set
- **module**: id of the module
- **key**: the key to look up
- **value**: the value to set
### Example
This will attempt to set the key `hello` to `world` using the module with an id of `redis`
```yaml
- type: kv.set
params:
module: redis
key: hello
value: world
```
```