NAME
Message::Passing::Output::Redis - A Redis publisher for Message::Passing
SYNOPSIS
$ message-passing --input STDIN --output Redis --output_options '{"topic":"foo","server":"127.0.0.1:6379"}'
DESCRIPTION
A simple message output which publishes messages to a Redis PubSub topic.
ATTRIBUTES
server
The hostname and port number of the Redis server. Defaults to 127.0.0.1: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.