
Redis Publish
CertifiedPublish values to a Redis channel
Redis Publish
Certified
Publish values to a Redis channel
Serializes values with the selected serde (STRING by default) and publishes each to the rendered channel; accepts inline lists or a Kestra storage URI.
yaml
type: io.kestra.plugin.redis.pubsub.PublishExamples
yaml
id: redis_publish
namespace: company.team
tasks:
- id: publish
type: io.kestra.plugin.redis.pubsub.Publish
url: redis://:redis@localhost:6379/0
channel: mych
from:
- value1
- value2
serdeType: JSON
Properties
channel *Requiredstring
Redis channel
Rendered before publishing.
from *Requiredstringarray
Values to publish
String or list; a string may point to a storage URI to stream values.
serdeType *Requiredstring
Default
STRINGPossible Values
STRINGJSONSerialization format
Defaults to STRING; controls encoding before PUBLISH.
url *Requiredstring
Redis connection string
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
count integer
Count
The number of values published
Metrics
published.records.count counter
Unit
recordsNumber of records published to a Redis channel.