NAME
Message::Passing::Output::Redis - A Redis publisher for Message::Passing
SYNOPSIS
$ message-pass --input STDIN --output Redis --output_options '{"topic":"foo","hostname":"127.0.0.1","port":"6379"}'
DESCRIPTION
A simple message output which publishes messages to a Redis PubSub topic.
ATTRIBUTES
hostname
The hostname of the Redis server. Required.
port
The port number of the Redis server. Defaults to 6379.
topic
The topic to publish messages to.
METHODS
consume
Publishes a message to Redis if connected.
connected
Called by Message::Passing::Redis::ConnectionManager when connected. Does nothing in this class.