Set Key/Value
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.
- type:
kv.set - params:
- key: key to set in the key-value module
- module: ID of the key-value module to set the value in
Example
Section titled “Example”This will attempt to set the key hello using the module with an id of redis
- type: kv.set params: module: redis key: hello