redis_pubsub

Publishes messages through the Redis PubSub model. It is not possible to guarantee that messages have been received.

# Config fields, showing default values
output:
redis_pubsub:
url: tcp://localhost:6379
channel: benthos_chan
max_in_flight: 1

This output will interpolate functions within the channel field, you can find a list of functions here.

Performance

This output benefits from sending multiple messages in flight in parallel for improved performance. You can tune the max number of in flight messages with the field max_in_flight.

Fields

url

The URL of a Redis server to connect to.

Type: string
Default: "tcp://localhost:6379"

# Examples
url: tcp://localhost:6379

channel

The channel to publish messages to. This field supports interpolation functions.

Type: string
Default: "benthos_chan"

max_in_flight

The maximum number of messages to have in flight at a given time. Increase this to improve throughput.

Type: number
Default: 1