mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-11 00:23:38 +00:00
23 lines
597 B
Plaintext
23 lines
597 B
Plaintext
---
|
|
title: Set Key/Value
|
|
sidebar:
|
|
label: Set
|
|
order: 2
|
|
---
|
|
import SchemaInfo from '../../../../components/SchemaInfo.astro';
|
|
|
|
The `kv.set` processor sets the value of the configured key to the incoming payload using a module that implements the `KeyValueModule` interface. The payload is unchanged so whatever is received by this processor is output unless any errors are encountered.
|
|
|
|
<SchemaInfo type="processor" id="kv.set"/>
|
|
|
|
### Example
|
|
|
|
This will attempt to set the key `hello` using the module with an id of `redis`
|
|
|
|
```yaml
|
|
- type: kv.set
|
|
params:
|
|
module: redis
|
|
key: hello
|
|
```
|