Publish
yaml
type: "io.kestra.plugin.redis.pubsub.Publish"
Publish one or multiple values to a channel.
Examples
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
Properties
channel
- Type: string
- Dynamic: ✔️
- Required: ✔️
The redis channel to publish.
from
- Type:
- string
- array
- Dynamic: ✔️
- Required: ✔️
The list of value to publish to the channel.
serdeType
- Type: object
- Dynamic: ❓
- Required: ✔️
url
- Type: string
- Dynamic: ✔️
- Required: ✔️
The connection string.
Outputs
count
- Type: integer
- Required: ❌
Count
The number of value published
Was this page helpful?